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

Method __getitem__

Lib/tkinter/font.py:111–112  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

109 return self.name == other.name and self._tk == other._tk
110
111 def __getitem__(self, key):
112 return self.cget(key)
113
114 def __setitem__(self, key, value):
115 self.configure(**{key: value})

Callers

nothing calls this directly

Calls 1

cgetMethod · 0.95

Tested by

no test coverage detected