]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38526: Fix zipfile.Path method name to be the correct one (#17317)
authorClaudiu Popa <pcmanticore@gmail.com>
Thu, 21 Nov 2019 21:23:13 +0000 (22:23 +0100)
committerJason R. Coombs <jaraco@jaraco.com>
Thu, 21 Nov 2019 21:23:13 +0000 (16:23 -0500)
Doc/library/zipfile.rst

index 18d2e9a60a7ba1c9a0ce3538325a43e34a122bf9..e8a2530fb8c1710834d525472e0683644cec3d29 100644 (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.