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

Method splitext

Lib/pathlib/types.py:49–49  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

47 altsep: Optional[str]
48 def split(self, path: str) -> tuple[str, str]: ...
49 def splitext(self, path: str) -> tuple[str, str]: ...
50 def normcase(self, path: str) -> str: ...
51
52

Callers 15

_find_moduleFunction · 0.80
load_fileMethod · 0.80
_find_executableFunction · 0.80
getsourcefileFunction · 0.80
importfileFunction · 0.80
cliFunction · 0.80
mainFunction · 0.80
hook_compressedFunction · 0.80
_modnameFunction · 0.80
_fullmodnameFunction · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 15

_test_module_encodingMethod · 0.64
splitextTestMethod · 0.64
my_file_and_modnameFunction · 0.64
_filterMethod · 0.64
debug_buildFunction · 0.64
urlMethod · 0.64
get_module_namesMethod · 0.64
_create_underpth_exeMethod · 0.64
findtestsFunction · 0.64
test_file_to_sourceMethod · 0.64