mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch 702620 by Donovan Preston: Fix AE inheritance.
This commit is contained in:
parent
82ad32ec39
commit
7e0bc112b8
2 changed files with 10 additions and 9 deletions
|
@ -502,11 +502,11 @@ class ComponentItem(SelectableItem):
|
|||
# Derived classes *must* set the *class attribute* 'want' to some constant
|
||||
# Also, dictionaries _propdict and _elemdict must be set to map property
|
||||
# and element names to the correct classes
|
||||
|
||||
|
||||
_propdict = {}
|
||||
_elemdict = {}
|
||||
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