bpo-38526: Fix zipfile.Path method name to be the correct one (#17317)
![](https://secure.gravatar.com/avatar/cc7737cd64a84f1b5c61a160798e97ee.jpg?s=120&d=mm&r=g)
https://github.com/python/cpython/commit/65444cf7fe84d8ca1f9b51c7f5992210751... commit: 65444cf7fe84d8ca1f9b51c7f5992210751e08bb branch: master author: Claudiu Popa <pcmanticore@gmail.com> committer: Jason R. Coombs <jaraco@jaraco.com> date: 2019-11-21T16:23:13-05:00 summary: bpo-38526: Fix zipfile.Path method name to be the correct one (#17317) files: M Doc/library/zipfile.rst diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index 18d2e9a60a7ba..e8a2530fb8c17 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.
participants (1)
-
Jason R. Coombs