summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-29 10:39:19 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-29 10:39:19 (GMT)
commit0502d89b49cd2f6ec6c082ef6eb3574a85b7321e (patch)
tree94e956f2ea2d9fdc0cf495fcbf93bb79043de033 /Lib
parentcbdffcee6239740665625ae2e4ff8710a8784242 (diff)
downloadcpython-0502d89b49cd2f6ec6c082ef6eb3574a85b7321e.zip
cpython-0502d89b49cd2f6ec6c082ef6eb3574a85b7321e.tar.gz
cpython-0502d89b49cd2f6ec6c082ef6eb3574a85b7321e.tar.bz2
Some objects could have uninitialized attributes. Fixed.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/plat-mac/aetypes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/plat-mac/aetypes.py b/Lib/plat-mac/aetypes.py
index d376e74..ac339e7 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: