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

Method copy

Lib/tkinter/font.py:126–128  ·  view source on GitHub ↗

Return a distinct copy of the current font

(self)

Source from the content-addressed store, hash-verified

124 pass
125
126 def copy(self):
127 "Return a distinct copy of the current font"
128 return Font(self._tk, **self.actual())
129
130 def actual(self, option=None, displayof=None):
131 "Return actual font attributes"

Callers 15

test_equalityMethod · 0.95
askcolorFunction · 0.45
font.pyFile · 0.45
_accept_connectionMethod · 0.45
close_clientsMethod · 0.45
abort_clientsMethod · 0.45
raw_itemsMethod · 0.45
iter_attachmentsMethod · 0.45
get_environMethod · 0.45
setup_environMethod · 0.45
getLevelNamesMappingFunction · 0.45
prepareMethod · 0.45

Calls 2

actualMethod · 0.95
FontClass · 0.85

Tested by 1

test_equalityMethod · 0.76