summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/xml.sax.reader.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/xml.sax.reader.rst b/Doc/library/xml.sax.reader.rst
index 1b6e431..113e9e9 100644
--- a/Doc/library/xml.sax.reader.rst
+++ b/Doc/library/xml.sax.reader.rst
@@ -102,13 +102,17 @@ The :class:`XMLReader` interface supports the following methods:
Process an input source, producing SAX events. The *source* object can be a
system identifier (a string identifying the input source -- typically a file
- name or a URL), a file-like object, or an :class:`InputSource` object. When
+ name or a URL), a :class:`pathlib.Path` or :term:`path-like <path-like object>`
+ object, or an :class:`InputSource` object. When
:meth:`parse` returns, the input is completely processed, and the parser object
can be discarded or reset.
.. versionchanged:: 3.5
Added support of character streams.
+ .. versionchanged:: 3.8
+ Added support of path-like objects.
+
.. method:: XMLReader.getContentHandler()