diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py index 7245b7e2c9c..d189823620d 100644 --- a/Lib/xml/__init__.py +++ b/Lib/xml/__init__.py @@ -18,7 +18,7 @@ __all__ = ["dom", "parsers", "sax"] # When being checked-out without options, this has the form # "Revision: x.y " # When exported using -kv, it is "x.y". -__version__ = "$Revision$".split()[-2][0] +__version__ = "$Revision$".split()[-2:][0] _MINIMUM_XMLPLUS_VERSION = (0, 6, 1)