summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-03-26 00:11:54 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-03-26 00:11:54 (GMT)
commit765531d2d083c7a4e9478fcd960eebe04ac6b192 (patch)
tree5bbaa431016613dcbe05081e2ab29aed2f36fd6a /Lib/xml
parent1f8898a5916b942c86ee8716c37d2db388e7bf2f (diff)
downloadcpython-765531d2d083c7a4e9478fcd960eebe04ac6b192.zip
cpython-765531d2d083c7a4e9478fcd960eebe04ac6b192.tar.gz
cpython-765531d2d083c7a4e9478fcd960eebe04ac6b192.tar.bz2
Issue #17516: use comment syntax for comments, instead of multiline string
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/etree/ElementTree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
index 67e4d1d..9fd6e5e 100644
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -1337,8 +1337,8 @@ def XMLID(text, parser=None):
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.