diff options
author | Peng Wu <alexepico@gmail.com> | 2011-11-08 16:35:56 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-11-08 16:35:56 +0800 |
commit | 9532617ce6542916b8eb5e30153f09aeeb5a54fa (patch) | |
tree | 508e4df120887338b20816481e074ad0eb5e9425 /scripts/genpinyintable.py | |
parent | 3b030513e61763bd5dbf197517ed9be7bc070884 (diff) | |
download | libpinyin-9532617ce6542916b8eb5e30153f09aeeb5a54fa.tar.gz libpinyin-9532617ce6542916b8eb5e30153f09aeeb5a54fa.tar.xz libpinyin-9532617ce6542916b8eb5e30153f09aeeb5a54fa.zip |
add comments
Diffstat (limited to 'scripts/genpinyintable.py')
-rw-r--r-- | scripts/genpinyintable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genpinyintable.py b/scripts/genpinyintable.py index e90b104..9a1a273 100644 --- a/scripts/genpinyintable.py +++ b/scripts/genpinyintable.py @@ -47,7 +47,7 @@ def sort_all(): sortfunc = operator.itemgetter(0) #begin sort content_table = sorted(content_table, key=sortfunc) - #prepend zero item + #prepend zero item to reserve the invalid item content_table.insert(0, ("", "", "ChewingKey()")) #sort index pinyin_index = sorted(pinyin_index, key=sortfunc) |