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

Method endswith

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

Source from the content-addressed store, hash-verified

1479 return self.data.encode(encoding, errors)
1480
1481 def endswith(self, suffix, start=0, end=_sys.maxsize):
1482 return self.data.endswith(suffix, start, end)
1483
1484 def expandtabs(self, tabsize=8):
1485 return self.__class__(self.data.expandtabs(tabsize))

Callers 15

_get_lineMethod · 0.45
read_stringnlFunction · 0.45
read_unicodestringnlFunction · 0.45
_slotnamesFunction · 0.45
_parseMethod · 0.45
_write_chunkMethod · 0.45
PEM_cert_to_DER_certFunction · 0.45
_default_sysrootFunction · 0.45
getmodulenameFunction · 0.45
getsourcefileFunction · 0.45
findsourceFunction · 0.45
visiblenameFunction · 0.45

Calls

no outgoing calls

Tested by 15

getvalueMethod · 0.36
_ellipsis_matchFunction · 0.36
__init__Method · 0.36
_testFunction · 0.36
test_null_terminatorMethod · 0.36
test_mapping_fileMethod · 0.36
test_basicsMethod · 0.36
ismethodMethod · 0.36
checkModuleMethod · 0.36