mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#11985: update docstring of platform.python_implementation.
This commit is contained in:
parent
f5164f6e93
commit
6fa0947285
1 changed files with 4 additions and 3 deletions
|
@ -1448,9 +1448,10 @@ def python_implementation():
|
||||||
""" Returns a string identifying the Python implementation.
|
""" Returns a string identifying the Python implementation.
|
||||||
|
|
||||||
Currently, the following implementations are identified:
|
Currently, the following implementations are identified:
|
||||||
'CPython' (C implementation of Python),
|
'CPython' (C implementation of Python),
|
||||||
'IronPython' (.NET implementation of Python),
|
'IronPython' (.NET implementation of Python),
|
||||||
'Jython' (Java implementation of Python).
|
'Jython' (Java implementation of Python),
|
||||||
|
'PyPy' (Python implementation of Python).
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return _sys_version()[0]
|
return _sys_version()[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue