bpo-38526: Fix zipfile.Path method name to be the correct one (#17317)

This commit is contained in:
Claudiu Popa 2019-11-21 22:23:13 +01:00 committed by Jason R. Coombs
parent 0aca3a3a1e
commit 65444cf7fe
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ Path objects are traversable using the ``/`` operator.
Invoke :meth:`ZipFile.open` on the current path. Accepts
the same arguments as :meth:`ZipFile.open`.
.. method:: Path.listdir()
.. method:: Path.iterdir()
Enumerate the children of the current directory.