Commits

Christian Heimes  committed 9fad094

removed unsed imports of PY3 constant

  • Participants
  • Parent commits d034280

Comments (0)

Files changed (3)

File defusedxml/cElementTree.py

 from xml.etree.ElementTree import iterparse as _iterparse
 
 from .ElementTree import DefusedXMLParser, _IterParseIterator
-from .common import PY3, _generate_etree_functions
+from .common import _generate_etree_functions
 
 __origin__ = "xml.etree.cElementTree"
 

File defusedxml/expatbuilder.py

 from xml.dom.expatbuilder import Namespaces as _Namespaces
 
 from .common import (DTDForbidden, EntitiesForbidden,
-                     ExternalEntitiesForbidden, PY3)
+                     ExternalEntitiesForbidden)
 
 __origin__ = "xml.dom.expatbuilder"
 

File defusedxml/expatreader.py

 from xml.sax.expatreader import ExpatParser as _ExpatParser
 
 from .common import (DTDForbidden, EntitiesForbidden,
-                     ExternalEntitiesForbidden, PY3)
+                     ExternalEntitiesForbidden)
 
 __origin__ = "xml.sax.expatreader"