https://github.com/python/cpython/commit/ca6acb8b31372efdbd7856f34a899104fd0c15b5 commit: ca6acb8b31372efdbd7856f34a899104fd0c15b5 branch: 3.10 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: miss-islington <31488909+miss-islington at users.noreply.github.com> date: 2022年03月22日T20:14:30-07:00 summary: Fix typo in Path.iterdir docs (GH-31822) (cherry picked from commit 795b365e8a6dfbeaa75780ed7807f8116f4537ca) Co-authored-by: Matt Williams <matt at milliams.com> files: M Doc/library/pathlib.rst diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index b6507eb4d6fa2..fedea34bcd0c4 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -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)