[Python-checkins] cpython (2.7): #11985: update docstring of platform.python_implementation.
ezio.melotti
python-checkins at python.org
Wed May 4 17:40:12 CEST 2011
http://hg.python.org/cpython/rev/affec521b330
changeset: 69827:affec521b330
branch: 2.7
parent: 69825:d3bd384df8ca
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
@@ -1448,9 +1448,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