summaryrefslogtreecommitdiffstats
path: root/scripts2
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-09-08 16:01:29 +0800
committerPeng Wu <alexepico@gmail.com>2015-09-08 16:01:29 +0800
commitde99332cb5171628ff6f8968576bc9235121a876 (patch)
tree4591e7788dbf96312ed86629f2844b2d4c51228b /scripts2
parentf40946027ed3bd50d5cce100564340d2b9161c0d (diff)
downloadlibpinyin-de99332cb5171628ff6f8968576bc9235121a876.tar.gz
libpinyin-de99332cb5171628ff6f8968576bc9235121a876.tar.xz
libpinyin-de99332cb5171628ff6f8968576bc9235121a876.zip
fixes gen_table_index_for_chewing_key function
Diffstat (limited to 'scripts2')
-rw-r--r--scripts2/fullpinyintable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts2/fullpinyintable.py b/scripts2/fullpinyintable.py
index b8cb1a6..45805ff 100644
--- a/scripts2/fullpinyintable.py
+++ b/scripts2/fullpinyintable.py
@@ -383,7 +383,7 @@ def handle_special_rules(bopomofo, corrects):
return handle_rules(bopomofo, corrects)
-def gen_table_index_for_chewing_key(content_table):
+def gen_table_index_for_chewing_key():
entries = []
for i in range(0, len(chewing.CHEWING_INITIAL_LIST)):
initial = chewing.CHEWING_INITIAL_LIST[i]