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

Class ConvertingTuple

Lib/logging/config.py:362–367  ·  view source on GitHub ↗

A converting tuple wrapper.

Source from the content-addressed store, hash-verified

360 return self.convert(value)
361
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 1

convertMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…