mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #17516: use comment syntax for comments, instead of multiline string
This commit is contained in:
parent
1f8898a591
commit
765531d2d0
11 changed files with 493 additions and 507 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue