mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Initialize the type object so pychecker can't crash the interpreter.
This commit is contained in:
parent
62bc8aadd4
commit
de4c78a1d7
1 changed files with 2 additions and 0 deletions
|
|
@ -7792,6 +7792,8 @@ void _PyUnicode_Init(void)
|
||||||
bloom_linebreak = make_bloom_mask(
|
bloom_linebreak = make_bloom_mask(
|
||||||
linebreak, sizeof(linebreak) / sizeof(linebreak[0])
|
linebreak, sizeof(linebreak) / sizeof(linebreak[0])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
PyType_Ready(&EncodingMapType);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Finalize the Unicode implementation */
|
/* Finalize the Unicode implementation */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue