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

Method startswith

Lib/collections/__init__.py:1631–1632  ·  view source on GitHub ↗
(self, prefix, start=0, end=_sys.maxsize)

Source from the content-addressed store, hash-verified

1629 return self.data.splitlines(keepends)
1630
1631 def startswith(self, prefix, start=0, end=_sys.maxsize):
1632 return self.data.startswith(prefix, start, end)
1633
1634 def strip(self, chars=None):
1635 return self.__class__(self.data.strip(chars))

Callers 15

conf.pyFile · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
write_documentsMethod · 0.45
parse_platformsMethod · 0.45
read_refcount_dataFunction · 0.45
read_threadsafety_dataFunction · 0.45
add_annotationsFunction · 0.45
gradle_taskFunction · 0.45
detect_extension_modulesFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 14

_ellipsis_matchFunction · 0.36
_module_relative_pathFunction · 0.36
_check_prefixMethod · 0.36
__runMethod · 0.36
checklinesMethod · 0.36
test_unaryFunction · 0.36
test_binaryFunction · 0.36
test_ternaryFunction · 0.36
test_from_floatFunction · 0.36
_unpack_srcMethod · 0.36
recompile_pymodsMethod · 0.36