MCPcopy Index your code
hub / github.com/python/cpython / iterdir

Method iterdir

Lib/pathlib/types.py:319–325  ·  view source on GitHub ↗

Yield path objects of the directory contents. The children are yielded in arbitrary order, and the special entries '.' and '..' are not included.

(self)

Source from the content-addressed store, hash-verified

317
318 @abstractmethod
319 def iterdir(self):
320 """Yield path objects of the directory contents.
321
322 The children are yielded in arbitrary order, and the
323 special entries '.' and '..' are not included.
324 """
325 raise NotImplementedError
326
327 def glob(self, pattern, *, recurse_symlinks=True):
328 """Iterate over this subtree and yield all existing files (of any

Callers 3

scandirMethod · 0.45
walkMethod · 0.45
_copy_fromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected