Use Guido's trick for always extracting the version number from a
CVS Revision string correctly, even under -kv.
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py
index b26d378..7245b7e 100644
--- a/Lib/xml/__init__.py
+++ b/Lib/xml/__init__.py
@@ -15,7 +15,10 @@
 
 __all__ = ["dom", "parsers", "sax"]
 
-__version__ = "$Revision$".split()[1]
+# When being checked-out without options, this has the form
+# "<dollar>Revision: x.y </dollar>"
+# When exported using -kv, it is "x.y".
+__version__ = "$Revision$".split()[-2][0]
 
 
 _MINIMUM_XMLPLUS_VERSION = (0, 6, 1)