summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-11-21 21:23:13 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2019-11-21 21:23:13 (GMT)
commit65444cf7fe84d8ca1f9b51c7f5992210751e08bb (patch)
tree7a62d4a80cd6b5117f1fac586234178c17192cae
parent0aca3a3a1e68b4ca2d334ab5255dfc267719096e (diff)
downloadcpython-65444cf7fe84d8ca1f9b51c7f5992210751e08bb.zip
cpython-65444cf7fe84d8ca1f9b51c7f5992210751e08bb.tar.gz
cpython-65444cf7fe84d8ca1f9b51c7f5992210751e08bb.tar.bz2
bpo-38526: Fix zipfile.Path method name to be the correct one (#17317)
-rw-r--r--Doc/library/zipfile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst
index 18d2e9a..e8a2530 100644
--- a/Doc/library/zipfile.rst
+++ b/Doc/library/zipfile.rst
@@ -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.