Skip to content

Commit ca6acb8

Browse files
Fix typo in Path.iterdir docs (GH-31822)
(cherry picked from commit 795b365) Co-authored-by: Matt Williams <[email protected]>
1 parent d5ed8a8 commit ca6acb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/pathlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ call fails (for example because the path doesn't exist).
914914

915915
The children are yielded in arbitrary order, and the special entries
916916
``'.'`` and ``'..'`` are not included. If a file is removed from or added
917-
to the directory after creating the iterator, whether an path object for
917+
to the directory after creating the iterator, whether a path object for
918918
that file be included is unspecified.
919919

920920
.. method:: Path.lchmod(mode)

0 commit comments

Comments
 (0)