commit | 6fec905de5c139017f36b212e54cac46959808fe | [log] [tgz] |
---|---|---|
author | Inada Naoki <songofacandy@gmail.com> | Wed Apr 17 08:40:34 2019 +0900 |
committer | GitHub <noreply@github.com> | Wed Apr 17 08:40:34 2019 +0900 |
tree | 80968e48c709a03114409870dc158b3c0e85ade7 | |
parent | 926b0cb5f688808dc11448a0bf3e452d1b92c232 [diff] [blame] |
bpo-36642: make unicodedata const (GH-12855)
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index 9327693..2550b8f 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py
@@ -1249,7 +1249,7 @@ size = getsize(self.data) if trace: print(self.name+":", size*len(self.data), "bytes", file=sys.stderr) - file.write("static ") + file.write("static const ") if size == 1: file.write("unsigned char") elif size == 2: