From 33c13ee30541ac46478d5cf40a55ff058d614870 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Tue, 10 Sep 2019 18:46:24 -0400 Subject: [PATCH 1/2] Correct trailing comments. --- packaging/markers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/markers.py b/packaging/markers.py index 3b8af324..8c870126 100644 --- a/packaging/markers.py +++ b/packaging/markers.py @@ -85,13 +85,13 @@ def serialize(self): | L("python_version") | L("sys_platform") | L("os_name") - | L("os.name") + | L("os.name") # PEP-345 | L("sys.platform") # PEP-345 | L("platform.version") # PEP-345 | L("platform.machine") # PEP-345 | L("platform.python_implementation") # PEP-345 - | L("python_implementation") # PEP-345 - | L("extra") # undocumented setuptools legacy + | L("python_implementation") # undocumented setuptools legacy + | L("extra") ) ALIASES = { "os.name": "os_name", From d50c55fb50b0abd63ffb481c404742a7b79a8b33 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Tue, 10 Sep 2019 18:47:39 -0400 Subject: [PATCH 2/2] Add reference for 'extra' marker variable. --- packaging/markers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/markers.py b/packaging/markers.py index 8c870126..708dd9a2 100644 --- a/packaging/markers.py +++ b/packaging/markers.py @@ -91,7 +91,7 @@ def serialize(self): | L("platform.machine") # PEP-345 | L("platform.python_implementation") # PEP-345 | L("python_implementation") # undocumented setuptools legacy - | L("extra") + | L("extra") # PEP-508 ) ALIASES = { "os.name": "os_name",