diff Lib/xml/etree/ElementTree.py @ 82957:313bcff51900

Issue #17516: use comment syntax for comments, instead of multiline string
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 26 Mar 2013 01:11:54 +0100
parents 7ae2c90f1ba2
children f903cf864191
line wrap: on
line diff
--- a/Lib/xml/etree/ElementTree.py	Tue Mar 26 01:59:56 2013 +0200
+++ b/Lib/xml/etree/ElementTree.py	Tue Mar 26 01:11:54 2013 +0100
@@ -1337,8 +1337,8 @@
             ids[id] = elem
     return tree, ids
 
+# Parse XML document from string constant.  Alias for XML().
 fromstring = XML
-"""Parse XML document from string constant.  Alias for XML()."""
 
 def fromstringlist(sequence, parser=None):
     """Parse XML document from sequence of string fragments.