MCPcopy Index your code
hub / github.com/RustPython/RustPython / __getitem__

Method __getitem__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cgetMethod · 0.95

Tested by

no test coverage detected