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

This commit is contained in:
Matt Williams 2022-03-23 02:51:41 +00:00 committed by GitHub
parent cd05d0a423
commit 795b365e8a
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)