diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-13 08:28:19 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-13 08:28:19 (GMT) |
commit | de4c78a1d73ab03701c86295fd0324fae705d713 (patch) | |
tree | d1a40deda63ab2598db0195704335f079dba16fa /Objects | |
parent | 62bc8aadd4465da30e09c1003cc4bfea014670da (diff) | |
download | cpython-de4c78a1d73ab03701c86295fd0324fae705d713.zip cpython-de4c78a1d73ab03701c86295fd0324fae705d713.tar.gz cpython-de4c78a1d73ab03701c86295fd0324fae705d713.tar.bz2 |
Initialize the type object so pychecker can't crash the interpreter.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ void _PyUnicode_Init(void) bloom_linebreak = make_bloom_mask( linebreak, sizeof(linebreak) / sizeof(linebreak[0]) ); + + PyType_Ready(&EncodingMapType); } /* Finalize the Unicode implementation */ |