From e87ab1fbf2aeea00884c5a50c2e2ff2e1b568307 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 19 May 1998 19:37:55 +0000 Subject: [PATCH] Fix definition of release_version (global). --- Doc/tools/partparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py index bf3c78dafb4..57ba6ef891c 100644 --- a/Doc/tools/partparse.py +++ b/Doc/tools/partparse.py @@ -29,7 +29,7 @@ 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