mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
bpo-36642: make unicodedata const (GH-12855)
This commit is contained in:
parent
926b0cb5f6
commit
6fec905de5
5 changed files with 19 additions and 19 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue