summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_nested_classes.py
blob: 56e57bbbb2d8d9ce4a19897fa5fcdfa096f96ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# pylint: disable=R0903, print-statement
"""crash test"""

__revision__ = 1

class Temelekefe(object):
    """gloubliboulga"""

    def __init__(self):
        """nested class with function raise error"""
        class Toto(object):
            """toto nested class"""
            def __init__(self):
                self.attr = 2
            def toto_method(self):
                """toto nested class method"""
                print self
        print 'error ?', self, Toto