commit | de4c78a1d73ab03701c86295fd0324fae705d713 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Jun 13 08:28:19 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Jun 13 08:28:19 2006 +0000 |
tree | d1a40deda63ab2598db0195704335f079dba16fa | |
parent | 62bc8aadd4465da30e09c1003cc4bfea014670da [diff] [blame] |
Initialize the type object so pychecker can't crash the interpreter.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 064caeb..3c06997 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -7792,6 +7792,8 @@ bloom_linebreak = make_bloom_mask( linebreak, sizeof(linebreak) / sizeof(linebreak[0]) ); + + PyType_Ready(&EncodingMapType); } /* Finalize the Unicode implementation */