mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Some objects could have uninitialized attributes. Fixed.
This commit is contained in:
parent
cbdffcee62
commit
0502d89b49
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue