From de4c78a1d73ab03701c86295fd0324fae705d713 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 13 Jun 2006 08:28:19 +0000 Subject: Initialize the type object so pychecker can't crash the interpreter. --- Objects/unicodeobject.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- cgit v0.12