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

This commit is contained in:
Neal Norwitz 2006-06-13 08:28:19 +00:00
parent 62bc8aadd4
commit de4c78a1d7
1 changed files with 2 additions and 0 deletions

View File

@ -7792,6 +7792,8 @@ void _PyUnicode_Init(void)
bloom_linebreak = make_bloom_mask(
linebreak, sizeof(linebreak) / sizeof(linebreak[0])
);
PyType_Ready(&EncodingMapType);
}
/* Finalize the Unicode implementation */