third_party.pylibs.pylint.src/test/input/func_scope_regrtest.py
2010-04-19 11:18:08 +02:00

16 lines
337 B
Python

# pylint: disable=R0903,W0232
"""check for scope problems"""
__revision__ = None
class Well(object):
"""well"""
class Data:
"""base hidden class"""
class Sub(Data):
"""whaou, is Data found???"""
yo = Data()
def func(self):
"""check Sub is not defined here"""
return Sub(), self