Use the string module instead of string methods; this should still work

with Python 1.5.2 for now.
This commit is contained in:
Fred Drake 2000-12-16 01:43:40 +00:00
parent 5100133685
commit 1402ab2cb9
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ sax -- The Simple API for XML, developed by XML-Dev, led by David
__all__ = ["dom", "parsers", "sax"]
__version__ = "$Revision$"[1:-1].split()[1]
import string
__version__ = string.split("$Revision$")[1]
del string
_MINIMUM_XMLPLUS_VERSION = (0, 6, 1)