mirror of https://github.com/python/cpython.git
Some objects could have uninitialized attributes. Fixed.
This commit is contained in:
parent
cbdffcee62
commit
0502d89b49
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue