[Python-checkins] Fix typo in Path.iterdir docs (GH-31822)
JelleZijlstra
webhook-mailer at python.org
Tue Mar 22 22:51:45 EDT 2022
https://github.com/python/cpython/commit/795b365e8a6dfbeaa75780ed7807f8116f4537ca
commit: 795b365e8a6dfbeaa75780ed7807f8116f4537ca
branch: main
author: Matt Williams <matt at milliams.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-03-22T19:51:41-07:00
summary:
Fix typo in Path.iterdir docs (GH-31822)
files:
M Doc/library/pathlib.rst
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index 7ab603fd133b8..1e7bc315471e2 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)
More information about the Python-checkins
mailing list