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

Method count

Lib/collections/__init__.py:1378–1379  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

1376 return self.__class__(self)
1377
1378 def count(self, item):
1379 return self.data.count(item)
1380
1381 def index(self, item, *args):
1382 return self.data.index(item, *args)

Callers 3

test_implementationMethod · 0.95
countMethod · 0.45
ThreadPoolExecutorClass · 0.45

Calls

no outgoing calls

Tested by 1

test_implementationMethod · 0.76