[Python-checkins] cpython (merge 3.4 -> 3.5): merge 3.4
benjamin.peterson
python-checkins at python.org
Tue May 26 04:28:57 CEST 2015
https://hg.python.org/cpython/rev/9e2a191b243d
changeset: 96292:9e2a191b243d
branch: 3.5
parent: 96286:a640d268ba97
parent: 96291:3ccfd62e4da8
user: Benjamin Peterson <benjamin at python.org>
date: Mon May 25 21:25:09 2015 -0500
summary:
merge 3.4
files:
Lib/distutils/__init__.py | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py
--- a/Lib/distutils/__init__.py
+++ b/Lib/distutils/__init__.py
@@ -8,10 +8,6 @@
setup (...)
"""
-# Distutils version
-#
-# Updated automatically by the Python release process.
-#
-#--start constants--
-__version__ = "3.5.0b1"
-#--end constants--
+import sys
+
+__version__ = sys.version[:sys.version.index(' ')]
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list