mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
Previously all optional parameters of super class constructor was ignored in generated constructor call, but from now on we pass them there if they exist in constructors of both superclass and subclass.
8 lines
219 B
Python
8 lines
219 B
Python
class A:
|
|
def __init__(self, x, (y, z)=(1, (2, 3)), (a, b)=(1, 2)):
|
|
pass
|
|
|
|
|
|
class B(A):
|
|
def <warning descr="Call to __init__ of super class is missed">_<caret>_init__</warning>(self, y, z, b):
|
|
pass |