summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_object_as_class_attribute.py
blob: c69b2b96647e0fadea358a79a8605423f9c21028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pylint: disable=R0903
"""Test case for the problem described below :
 - A class extends 'object'
 - This class defines its own __init__()
   * pylint will therefore check that baseclasses' init()
     are called
 - If this class defines an 'object' attribute, then pylint
   will use this new definition when trying to retrieve
   object.__init__()
"""

__revision__ = None

class Statement(object):
    """ ... """
    def __init__(self):
        pass
    object = None