We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a90826 commit fa5157eCopy full SHA for fa5157e
Doc/library/os.rst
@@ -2725,7 +2725,7 @@ features:
2725
no effect on the behavior of the walk, because in bottom-up mode the directories
2726
in *dirnames* are generated before *dirpath* itself is generated.
2727
2728
- By default, errors from the :func:`listdir` call are ignored. If optional
+ By default, errors from the :func:`scandir` call are ignored. If optional
2729
argument *onerror* is specified, it should be a function; it will be called with
2730
one argument, an :exc:`OSError` instance. It can report the error to continue
2731
with the walk, or raise the exception to abort the walk. Note that the filename
0 commit comments