MCPcopy Create free account
hub / github.com/EasyIME/PIME / getKey

Method getKey

python/cinbase/cin.py:101–102  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

99
100
101 def getKey(self, val):
102 return [key for key, value in self.chardefs.items() if val in value][0]
103
104
105 def isInCharDef(self, key):

Callers 1

onKeyDownMethod · 0.45

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected