]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
make idlever.py self-updating (closes #24199)
authorBenjamin Peterson <benjamin@python.org>
Fri, 22 May 2015 22:53:06 +0000 (17:53 -0500)
committerBenjamin Peterson <benjamin@python.org>
Fri, 22 May 2015 22:53:06 +0000 (17:53 -0500)
Lib/idlelib/idlever.py

index b80c4795fa44139945d3ffcf0de7a0929ccc77b5..563d933f3bd66e319ed3e195479128cd03095b4f 100644 (file)
@@ -1 +1,4 @@
-IDLE_VERSION = "2.7.10rc1"
+"""Unused by Idle: there is no separate Idle version anymore.
+Kept only for possible existing extension use."""
+from sys import version
+IDLE_VERSION = version[:version.index(' ')]