bpo-38526: Fix zipfile.Path method name to be the correct one (#17317)
This commit is contained in:
parent
0aca3a3a1e
commit
65444cf7fe
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue