Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / pylint / test / input / func_w0205.py @ 745

History | View | Annotate | Download (579 Bytes)

1
"""check different signatures"""
2
from __future__ import print_function
3
__revision__ = 0
4
# pylint: disable=too-few-public-methods
5
class Abcd(object):
6
    '''dummy'''
7
    def __init__(self):
8
        self.aarg = False
9
    def abcd(self, aaa=1, bbbb=None):
10
        """hehehe"""
11
        print(self, aaa, bbbb)
12
    def args(self):
13
        """gaarrrggll"""
14
        self.aarg = True
15

    
16
class Cdef(Abcd):
17
    """dummy"""
18
    def __init__(self, aaa):
19
        Abcd.__init__(self)
20
        self.aaa = aaa
21

    
22
    def abcd(self, aaa, bbbb=None):
23
        """hehehe"""
24
        print(self, aaa, bbbb)