Commits

Brett Cannon committed f32529d

format tweak

  • Participants
  • Parent commits 8117db3

Comments (0)

Files changed (1)

defusedxml/lxml.py

                 raise EntitiesForbidden(entity.name)
 
 
-def parse(source, parser=None, base_url=None, forbid_dtd=False, forbid_entities=True):
+def parse(source, parser=None, base_url=None, forbid_dtd=False,
+          forbid_entities=True):
     if parser is None:
         parser = getDefaultParser()
     elementtree = _etree.parse(source, parser, base_url=base_url)
     return elementtree
 
 
-def fromstring(text, parser=None, base_url=None, forbid_dtd=False, forbid_entities=True):
+def fromstring(text, parser=None, base_url=None, forbid_dtd=False,
+               forbid_entities=True):
     if parser is None:
         parser = getDefaultParser()
     rootelement = _etree.fromstring(text, parser, base_url=base_url)