tptimer/env/lib/python2.7/site-packages/pylint/test/functional/signature_differs.py

23 lines
440 B
Python

# pylint: disable=too-few-public-methods, missing-docstring, no-self-use
class Abcd(object):
def __init__(self):
self.aarg = False
def abcd(self, aaa=1, bbbb=None):
return aaa, bbbb
def args(self):
self.aarg = True
class Cdef(Abcd):
def __init__(self, aaa):
Abcd.__init__(self)
self.aaa = aaa
def abcd(self, aaa, bbbb=None): # [signature-differs]
return aaa, bbbb