Skip to content

Commit 73d0bfc

Browse files
committed
Add reference to pep 776 for sys.platform value
1 parent 4633b4c commit 73d0bfc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

peps/pep-0783.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,11 @@ Package indexes SHOULD accept any wheel whose platform tag matches
166166
Dependency Specifier Markers
167167
----------------------------
168168

169-
To check for the Emscripten platform in a dependency specifier, one can use
170-
``sys_platform == 'emscripten'`` (or its negation).
169+
According to `PEP 776
170+
<https://peps.python.org/pep-0776/#platform-identification>`__, in Emscripten
171+
Python `sys.platform` returns `"emscripten"`. To check for the Emscripten
172+
platform in a dependency specifier, one can use ``sys_platform == 'emscripten'``
173+
(or its negation).
171174

172175

173176
Trove Classifier

0 commit comments

Comments
 (0)