summaryrefslogtreecommitdiffstats
path: root/Lib/pathlib/_local.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pathlib/_local.py')
-rw-r--r--Lib/pathlib/_local.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pathlib/_local.py b/Lib/pathlib/_local.py
index b5d9dc4..bb8a252 100644
--- a/Lib/pathlib/_local.py
+++ b/Lib/pathlib/_local.py
@@ -634,8 +634,8 @@ class Path(PathBase, PurePath):
path_str = path_str[:-1]
yield path_str
- def scandir(self):
- """Yield os.DirEntry objects of the directory contents.
+ def _scandir(self):
+ """Yield os.DirEntry-like objects of the directory contents.
The children are yielded in arbitrary order, and the
special entries '.' and '..' are not included.