mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
#11985: update docstring of platform.python_implementation.
This commit is contained in:
parent
308053ee11
commit
f16898bc80
@ -1398,9 +1398,10 @@ def python_implementation():
|
||||
""" Returns a string identifying the Python implementation.
|
||||
|
||||
Currently, the following implementations are identified:
|
||||
'CPython' (C implementation of Python),
|
||||
'IronPython' (.NET implementation of Python),
|
||||
'Jython' (Java implementation of Python).
|
||||
'CPython' (C implementation of Python),
|
||||
'IronPython' (.NET implementation of Python),
|
||||
'Jython' (Java implementation of Python),
|
||||
'PyPy' (Python implementation of Python).
|
||||
|
||||
"""
|
||||
return _sys_version()[0]
|
||||
|
Loading…
Reference in New Issue
Block a user