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

Method isabs

Lib/test/test_getpath.py:998–999  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

996 return path.casefold().endswith(suffix.casefold())
997
998 def isabs(self, path):
999 return path[1:3] == ":\\"
1000
1001 def isdir(self, path):
1002 if verbose:

Callers 15

abspathMethod · 0.95
_get_filtered_attrsFunction · 0.45
updatecacheFunction · 0.45
sourcehookMethod · 0.45
_execute_childMethod · 0.45
lookupmoduleMethod · 0.45
set_filterMethod · 0.45
is_absoluteMethod · 0.45
_execute_scriptFunction · 0.45
mainFunction · 0.45
_get_name_from_pathMethod · 0.45
_convert_nameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected