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

Method __getitem__

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

Source from the content-addressed store, hash-verified

362class ConvertingTuple(tuple, ConvertingMixin):
363 """A converting tuple wrapper."""
364 def __getitem__(self, key):
365 value = tuple.__getitem__(self, key)
366 # Can't replace a tuple entry.
367 return self.convert_with_key(key, value, replace=False)
368
369class BaseConfigurator(object):
370 """

Callers

nothing calls this directly

Calls 2

convert_with_keyMethod · 0.80
__getitem__Method · 0.45

Tested by

no test coverage detected