mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #10590: xml.sax.parseString() now supports string argument.
This commit is contained in:
parent
f8aa133cce
commit
778db289b5
4 changed files with 19 additions and 4 deletions
|
@ -47,7 +47,11 @@ The convenience functions are:
|
|||
.. function:: parseString(string, handler, error_handler=handler.ErrorHandler())
|
||||
|
||||
Similar to :func:`parse`, but parses from a buffer *string* received as a
|
||||
parameter.
|
||||
parameter. *string* must be a :class:`str` instance or a
|
||||
:term:`bytes-like object`.
|
||||
|
||||
.. versionchanged:: 3.5
|
||||
Added support of :class:`str` instances.
|
||||
|
||||
A typical SAX application uses three kinds of objects: readers, handlers and
|
||||
input sources. "Reader" in this context is another term for parser, i.e. some
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue