blob: 896be6c853823c245c554b66b12bd05bfb60917d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
"""check different signatures"""
from __future__ import print_function
__revision__ = 0
# pylint: disable=too-few-public-methods
class Abcd(object):
'''dummy'''
def __init__(self):
self.aarg = False
def abcd(self, aaa=1, bbbb=None):
"""hehehe"""
print(self, aaa, bbbb)
def args(self):
"""gaarrrggll"""
self.aarg = True
class Cdef(Abcd):
"""dummy"""
def __init__(self, aaa):
Abcd.__init__(self)
self.aaa = aaa
def abcd(self, aaa, bbbb=None):
"""hehehe"""
print(self, aaa, bbbb)
|