mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Now during resolve if there is no class/instance attribute with appropriate name explicitly in the class, we will try to find it in the parent classes and resolve there. GitOrigin-RevId: 52ab5f0ad63cba187457ba3db6107997ede33dee
13 lines
193 B
Python
13 lines
193 B
Python
class Parent:
|
|
"""
|
|
:ivar attr: parent attr doc
|
|
"""
|
|
def __init__(self):
|
|
self.attr = 0
|
|
|
|
|
|
class Child(Parent):
|
|
"""
|
|
:ivar attr: child attr doc
|
|
<ref>
|
|
""" |