Skip to content

Commit

Permalink
bpo-38526: Fix zipfile.Path method name to be the correct one (python…
Browse files Browse the repository at this point in the history
  • Loading branch information
PCManticore authored and jaraco committed Nov 21, 2019
1 parent 0aca3a3 commit 65444cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/zipfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 65444cf

Please sign in to comment.