mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-25 16:24:03 +08:00
edb7dc1171
xml.etree.ElementTree uses open on filenames (e.g. [1]), so os.PathLike has been supported as filenames since Python 3.6. [1] https://github.com/python/cpython/blob/285ff63351bb5a42099527c283f65434e761be83/Lib/xml/etree/ElementTree.py#L584