mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Tabnanny fixes
This commit is contained in:
parent
c84cb9511b
commit
b8fd1f18ab
3 changed files with 14 additions and 14 deletions
|
@ -530,7 +530,7 @@ class ComponentItem(SelectableItem):
|
|||
if self._elemdict.has_key(name):
|
||||
cls = self._elemdict[name]
|
||||
return DelayedComponentItem(cls, self)
|
||||
if self._propdict.has_key(name):
|
||||
if self._propdict.has_key(name):
|
||||
cls = self._propdict[name]
|
||||
return cls(self)
|
||||
raise AttributeError, name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue