mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
It also preserves original indentation of updated constructor and handles comments at the end of the function body better.
9 lines
213 B
Python
9 lines
213 B
Python
class A:
|
|
def __init__(self, c, a = 5, *arg, **kwargs):
|
|
pass
|
|
|
|
class B(A):
|
|
def __init__(self, r, c, b=6, *args, **kwargs):
|
|
A.__init__(self, c, *args, **kwargs)
|
|
print "Constructor B was called"
|