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

Method __getitem__

Lib/logging/config.py:354–356  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

352class ConvertingList(list, ConvertingMixin):
353 """A converting list wrapper."""
354 def __getitem__(self, key):
355 value = list.__getitem__(self, key)
356 return self.convert_with_key(key, value)
357
358 def pop(self, idx=-1):
359 value = list.pop(self, idx)

Callers

nothing calls this directly

Calls 2

convert_with_keyMethod · 0.80
__getitem__Method · 0.45

Tested by

no test coverage detected