[Python-checkins] cpython (3.1): #11985: update docstring of platform.python_implementation.
ezio.melotti
python-checkins at python.org
Wed May 4 17:40:16 CEST 2011
http://hg.python.org/cpython/rev/7bf9d7ae6c94
changeset: 69828:7bf9d7ae6c94
branch: 3.1
parent: 69815:175dcc8c4b23
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Wed May 04 18:37:50 2011 +0300
summary:
#11985: update docstring of platform.python_implementation.
files:
Lib/platform.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Lib/platform.py b/Lib/platform.py
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -1398,9 +1398,10 @@
""" 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]
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list