summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-19 19:37:55 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-19 19:37:55 (GMT)
commite87ab1fbf2aeea00884c5a50c2e2ff2e1b568307 (patch)
treeb09bc6e7cd1390eaa03c2a28e2982fbe84df094f
parent7c68ab2f2b84af49d8620b6ce7d57a6daf9f4ff2 (diff)
downloadcpython-e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307.zip
cpython-e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307.tar.gz
cpython-e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307.tar.bz2
Fix definition of release_version (global).
-rw-r--r--Doc/tools/partparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py
index bf3c78d..57ba6ef 100644
--- a/Doc/tools/partparse.py
+++ b/Doc/tools/partparse.py
@@ -29,7 +29,7 @@ import sys, string, regex, getopt, os
from types import IntType, ListType, StringType, TupleType
-release_version = sys.version[:3]
+release_version = string.split(sys.version)[0]
# Different parse modes for phase 1
MODE_REGULAR = 0