]> granicus.if.org Git - python/commitdiff
Fix definition of release_version (global).
authorFred Drake <fdrake@acm.org>
Tue, 19 May 1998 19:37:55 +0000 (19:37 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 19 May 1998 19:37:55 +0000 (19:37 +0000)
Doc/tools/partparse.py

index bf3c78dafb4898407aeb52d1a652574e0b892c71..57ba6ef891ce196fc1f8a1b3da187c8cab6913c0 100644 (file)
@@ -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