From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 21 Nov 2019 21:41:20 +0000 (-0800) Subject: bpo-38526: Fix zipfile.Path method name to be the correct one (GH-17317) X-Git-Tag: v3.8.1rc1~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=107ed88cde3ae6f1cb01ae75575ea0f92c138464;p=thirdparty%2FPython%2Fcpython.git bpo-38526: Fix zipfile.Path method name to be the correct one (GH-17317) (cherry picked from commit 65444cf7fe84d8ca1f9b51c7f5992210751e08bb) Co-authored-by: Claudiu Popa --- diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index 18d2e9a60a7b..e8a2530fb8c1 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.