mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
It also preserves original indentation of updated constructor and handles comments at the end of the function body better.
10 lines
183 B
Python
10 lines
183 B
Python
class A:
|
|
def __init__(self, c, a = 5):
|
|
pass
|
|
|
|
class B(A):
|
|
def __init__(self, r, c, b=6):
|
|
"""docstring"""
|
|
A.__init__(self, c)
|
|
print "Constructor B was called"
|