summaryrefslogtreecommitdiffstats
path: root/Lib/xml/__init__.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-12-16 01:43:40 (GMT)
committerFred Drake <fdrake@acm.org>2000-12-16 01:43:40 (GMT)
commit1402ab2cb98563a548d03139bb2aa269965db342 (patch)
treea9fd3421dcf2c17c9b26f206ff480e407b9d5fba /Lib/xml/__init__.py
parent51001336859e9c7d046f7c77cd51bbd2155d8ec1 (diff)
downloadcpython-1402ab2cb98563a548d03139bb2aa269965db342.zip
cpython-1402ab2cb98563a548d03139bb2aa269965db342.tar.gz
cpython-1402ab2cb98563a548d03139bb2aa269965db342.tar.bz2
Use the string module instead of string methods; this should still work
with Python 1.5.2 for now.
Diffstat (limited to 'Lib/xml/__init__.py')
-rw-r--r--Lib/xml/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py
index a38db2d..2748d50 100644
--- a/Lib/xml/__init__.py
+++ b/Lib/xml/__init__.py
@@ -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)