PEP 345: platform.python_implementation is now an authorised environment marker.

This allows to target some specific python implementations (such as cpython/pypy/jython) when describing PEP 345 fields
This commit is contained in:
Alexis Metaireau 2011-05-01 15:51:51 +01:00
parent 72a37feba6
commit eb3d496b80
1 changed files with 1 additions and 0 deletions

View File

@ -483,6 +483,7 @@ where ``EXPR`` belongs to any of those:
- sys.platform = sys.platform
- platform.version = platform.version()
- platform.machine = platform.machine()
- platform.python_implementation = platform.python_implementation()
- a free string, like ``'2.4'``, or ``'win32'``
Notice that ``in`` is restricted to strings, meaning that it is not possible