Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ is_dir
Method
is_dir
Lib/importlib/resources/abc.py:93–96 ·
view source on GitHub ↗
Return True if self is a directory
(self)
Source
from the content-addressed store, hash-verified
91
92
@abc.abstractmethod
93
def
is_dir(self) -> bool:
94
""
"
95
Return True
if
self is a directory
96
""
"
97
98
@abc.abstractmethod
99
def
is_file(self) -> bool:
Callers
4
_find_children
Method · 0.45
_is_present_dir
Function · 0.45
_temp_dir
Function · 0.45
_write_contents
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected