mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
#11985: merge with 3.1.
This commit is contained in:
commit
e548f5a001
1 changed files with 4 additions and 3 deletions
|
@ -1417,9 +1417,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…
Add table
Add a link
Reference in a new issue