Show base classes in structure view (PY-3370)

This commit is contained in:
Andrey Vlasovskikh
2011-04-20 12:33:25 +04:00
parent 3a633fb10b
commit df66f7fd1c
3 changed files with 64 additions and 0 deletions
@@ -0,0 +1,17 @@
class B1:
def f(self, x):
return x + self.y
class B2(object):
@staticmethod
def g(x):
return x
class C(B1, B2):
pass
class D1(C):
pass
class D2(C):
pass