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

Method get_modifiers

Lib/idlelib/config_key.py:212–215  ·  view source on GitHub ↗

Return ordered list of modifiers that have been selected.

(self)

Source from the content-addressed store, hash-verified

210 self.key_string.set(f"<{'-'.join(keylist)}>")
211
212 def get_modifiers(self):
213 "Return ordered list of modifiers that have been selected."
214 mod_list = [variable.get() for variable in self.modifier_vars]
215 return [mod for mod in mod_list if mod]
216
217 def clear_key_seq(self):
218 "Clear modifiers and keys selection."

Callers 2

build_key_stringMethod · 0.95
keys_okMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected