]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Path.iterdir docs (GH-31822)
authorMatt Williams <matt@milliams.com>
Wed, 23 Mar 2022 02:51:41 +0000 (02:51 +0000)
committerGitHub <noreply@github.com>
Wed, 23 Mar 2022 02:51:41 +0000 (19:51 -0700)
Doc/library/pathlib.rst

index 7ab603fd133b86183da6c2e00456909b866d3691..1e7bc315471e2c6a5a30279a2d697b6ba916c985 100644 (file)
@@ -914,7 +914,7 @@ call fails (for example because the path doesn't exist).
 
    The children are yielded in arbitrary order, and the special entries
    ``'.'`` and ``'..'`` are not included.  If a file is removed from or added
-   to the directory after creating the iterator, whether an path object for
+   to the directory after creating the iterator, whether a path object for
    that file be included is unspecified.
 
 .. method:: Path.lchmod(mode)