diff options
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index cc2db98..dc981ec 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -1202,9 +1202,6 @@ def _sys_version(sys_version=None): _, branch, revision = sys._git elif hasattr(sys, '_mercurial'): _, branch, revision = sys._mercurial - elif hasattr(sys, 'subversion'): - # sys.subversion was added in Python 2.5 - _, branch, revision = sys.subversion else: branch = '' revision = '' @@ -1259,7 +1256,7 @@ def python_branch(): """ Returns a string identifying the Python implementation branch. - For CPython this is the Subversion branch from which the + For CPython this is the SCM branch from which the Python binary was built. If not available, an empty string is returned. @@ -1273,7 +1270,7 @@ def python_revision(): """ Returns a string identifying the Python implementation revision. - For CPython this is the Subversion revision from which the + For CPython this is the SCM revision from which the Python binary was built. If not available, an empty string is returned. |