Fix typo in Path.iterdir docs (GH-31822)

(cherry picked from commit 795b365e8a)

Co-authored-by: Matt Williams <matt@milliams.com>
This commit is contained in:
Miss Islington (bot) 2022-03-22 20:14:30 -07:00 committed by GitHub
parent d5ed8a8258
commit ca6acb8b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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)