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

Method index

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

Source from the content-addressed store, hash-verified

1536 return self.data.format_map(mapping)
1537
1538 def index(self, sub, start=0, end=_sys.maxsize):
1539 if isinstance(sub, UserString):
1540 sub = sub.data
1541 return self.data.index(sub, start, end)
1542
1543 def isalpha(self):
1544 return self.data.isalpha()

Callers 1

test_implementationMethod · 0.95

Calls 1

indexMethod · 0.45

Tested by 1

test_implementationMethod · 0.76