Kaydet (Commit) de4c78a1 authored tarafından Neal Norwitz's avatar Neal Norwitz

Initialize the type object so pychecker can't crash the interpreter.

üst 62bc8aad
...@@ -7792,6 +7792,8 @@ void _PyUnicode_Init(void) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment