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 d1c82c5 commit badb894Copy full SHA for badb894
Doc/library/os.rst
@@ -2812,7 +2812,7 @@ features:
2812
no effect on the behavior of the walk, because in bottom-up mode the directories
2813
in *dirnames* are generated before *dirpath* itself is generated.
2814
2815
- By default, errors from the :func:`listdir` call are ignored. If optional
+ By default, errors from the :func:`scandir` call are ignored. If optional
2816
argument *onerror* is specified, it should be a function; it will be called with
2817
one argument, an :exc:`OSError` instance. It can report the error to continue
2818
with the walk, or raise the exception to abort the walk. Note that the filename
0 commit comments