mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Use the new Py_ARRAY_LENGTH macro
This commit is contained in:
parent
b9dcffb51e
commit
639418812f
15 changed files with 26 additions and 28 deletions
|
@ -12552,7 +12552,7 @@ void _PyUnicode_Init(void)
|
|||
/* initialize the linebreak bloom filter */
|
||||
bloom_linebreak = make_bloom_mask(
|
||||
PyUnicode_2BYTE_KIND, linebreak,
|
||||
sizeof(linebreak) / sizeof(linebreak[0]));
|
||||
Py_ARRAY_LENGTH(linebreak));
|
||||
|
||||
PyType_Ready(&EncodingMapType);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue