MCPcopy Index your code
hub / github.com/RustPython/RustPython / startswith

Method startswith

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

Source from the content-addressed store, hash-verified

1589 return self.data.splitlines(keepends)
1590
1591 def startswith(self, prefix, start=0, end=_sys.maxsize):
1592 return self.data.startswith(prefix, start, end)
1593
1594 def strip(self, chars=None):
1595 return self.__class__(self.data.strip(chars))

Callers 15

_strptimeFunction · 0.45
zipapp.pyFile · 0.45
copy_locationFunction · 0.45
symtable.pyFile · 0.45
read_stringnlFunction · 0.45
_fromtimestampMethod · 0.45
_slotnamesFunction · 0.45
signal.pyFile · 0.45
_parseMethod · 0.45
iter_zipimport_modulesFunction · 0.45
iter_importersFunction · 0.45
extend_pathFunction · 0.45

Calls

no outgoing calls

Tested by 7

_ellipsis_matchFunction · 0.36
_module_relative_pathFunction · 0.36
_check_prefixMethod · 0.36
__runMethod · 0.36
get_test_filesFunction · 0.36
test_importsMethod · 0.36