bpo-36642: make unicodedata const (GH-12855)

This commit is contained in:
Inada Naoki 2019-04-17 08:40:34 +09:00 committed by GitHub
parent 926b0cb5f6
commit 6fec905de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 19 deletions

View file

@ -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: