bpo-31658: Make xml.sax.parse accepting Path objects (GH-8564)
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 @@
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()