mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests PY-6102 Call to constructor of super is missed
This commit is contained in:
@@ -4,4 +4,5 @@ class A:
|
||||
|
||||
class B(A):
|
||||
def <caret><warning descr="Call to constructor of super class is missed">__init__</warning>(self, r, b = 6):
|
||||
"""docstring"""
|
||||
print "Constructor B was called"
|
||||
|
||||
@@ -4,5 +4,6 @@ class A:
|
||||
|
||||
class B(A):
|
||||
def __init__(self, r, c, b=6):
|
||||
"""docstring"""
|
||||
A.__init__(self, c)
|
||||
print "Constructor B was called"
|
||||
|
||||
Reference in New Issue
Block a user