diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-16 23:40:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 23:40:34 (GMT) |
commit | 6fec905de5c139017f36b212e54cac46959808fe (patch) | |
tree | 80968e48c709a03114409870dc158b3c0e85ade7 /Tools/unicode | |
parent | 926b0cb5f688808dc11448a0bf3e452d1b92c232 (diff) | |
download | cpython-6fec905de5c139017f36b212e54cac46959808fe.zip cpython-6fec905de5c139017f36b212e54cac46959808fe.tar.gz cpython-6fec905de5c139017f36b212e54cac46959808fe.tar.bz2 |
bpo-36642: make unicodedata const (GH-12855)
Diffstat (limited to 'Tools/unicode')
-rw-r--r-- | Tools/unicode/makeunicodedata.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class Array: 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: |