From: Jack Jansen Date: Wed, 29 Jan 2003 10:39:19 +0000 (+0000) Subject: Some objects could have uninitialized attributes. Fixed. X-Git-Tag: v2.3c1~2193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0502d89b49cd2f6ec6c082ef6eb3574a85b7321e;p=thirdparty%2FPython%2Fcpython.git Some objects could have uninitialized attributes. Fixed. --- diff --git a/Lib/plat-mac/aetypes.py b/Lib/plat-mac/aetypes.py index d376e74f5071..ac339e72d04a 100644 --- a/Lib/plat-mac/aetypes.py +++ b/Lib/plat-mac/aetypes.py @@ -521,6 +521,8 @@ class ComponentItem(SelectableItem): def __init__(self, which, fr = None): SelectableItem.__init__(self, self.want, which, fr) + self._propdict = {} + self._elemdict = {} def __repr__(self): if not self.fr: