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

Method __init__

python/cinbase/hcin.py:13–23  ·  view source on GitHub ↗
(self, fs, imeDirName)

Source from the content-addressed store, hash-verified

11 encoding = 'utf-8'
12
13 def __init__(self, fs, imeDirName):
14 self.imeDirName = imeDirName
15 self.curdir = os.path.abspath(os.path.dirname(__file__))
16
17 self.ename = ""
18 self.cname = ""
19 self.selkey = ""
20 self.keynames = {}
21 self.chardefs = {}
22
23 self.__dict__.update(json.load(fs))
24
25
26 def __del__(self):

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected