Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ rmdir
Method
rmdir
Lib/pathlib/__init__.py:1047–1051 ·
view source on GitHub ↗
Remove this directory. The directory must be empty.
(self)
Source
from the content-addressed store, hash-verified
1045
raise
1046
1047
def
rmdir(self):
1048
""
"
1049
Remove this directory. The directory must be empty.
1050
""
"
1051
os.rmdir(self)
1052
1053
def
_delete(self):
1054
""
"
Callers
15
_rmtree_unsafe
Function · 0.80
_rmtree_safe_fd_step
Function · 0.80
remove_folder
Method · 0.80
remove_folder
Method · 0.80
test_getoutput
Method · 0.80
_del_pkg
Method · 0.80
test_ismount_non_existent
Method · 0.80
test_realpath_repeated_indirect_symlinks
Method · 0.80
test_realpath_deep_recursion
Method · 0.80
test_realpath_resolve_parents
Method · 0.80
test_realpath_resolve_before_normalizing
Method · 0.80
test_realpath_resolve_first
Method · 0.80
Calls
no outgoing calls
Tested by
15
test_getoutput
Method · 0.64
_del_pkg
Method · 0.64
test_ismount_non_existent
Method · 0.64
test_realpath_repeated_indirect_symlinks
Method · 0.64
test_realpath_deep_recursion
Method · 0.64
test_realpath_resolve_parents
Method · 0.64
test_realpath_resolve_before_normalizing
Method · 0.64
test_realpath_resolve_first
Method · 0.64
test_realpath_unreadable_directory
Method · 0.64
cleanout
Function · 0.64
test_isdir
Method · 0.64
test_isfile
Method · 0.64