Visitar URL original
bpo-40328: Add tool for generating cjk mapping headers by corona10 · Pull Request #19602 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
bpo-40328: fix
  • Loading branch information
corona10 committed Apr 20, 2020
commit 60e63074f6fec50923da83b593f00739b0c357e6
1 change: 0 additions & 1 deletion Tools/unicode/genmap_japanese.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,3 @@ def main():

if __name__ == '__main__':
main()

2 changes: 1 addition & 1 deletion Tools/unicode/genmap_schinese.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ def main():


if __name__ == '__main__':
main()
main()
4 changes: 2 additions & 2 deletions Tools/unicode/genmap_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, fp, prefix, decode_map):
self.fp = fp
self.prefix = prefix
self.decode_map = decode_map
self.filler = self.filler_class()
self.filler = self.filler_class()

def update_decode_map(self, c1range, c2range, onlymask=(), wide=0):
c2values = range(c2range[0], c2range[1] + 1)
Expand Down Expand Up @@ -98,7 +98,7 @@ def generate(self, wide=False):
",", "%d," % m[i]['min'], "%d" % m[i]['max'], "},")
self.filler.printout(self.fp)
self.fp.write("};\n\n")


class EncodeMapWriter:
filler_class = BufferedFiller
Expand Down