diff options
author | Fred Drake <fdrake@acm.org> | 1998-05-19 19:37:55 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-05-19 19:37:55 (GMT) |
commit | e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307 (patch) | |
tree | b09bc6e7cd1390eaa03c2a28e2982fbe84df094f | |
parent | 7c68ab2f2b84af49d8620b6ce7d57a6daf9f4ff2 (diff) | |
download | cpython-e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307.zip cpython-e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307.tar.gz cpython-e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307.tar.bz2 |
Fix definition of release_version (global).
-rw-r--r-- | Doc/tools/partparse.py | 2 |
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 |