third_party.pylibs.pylint.src/test/input/func_scope_regrtest.py

16 lines
337 B
Python
Raw Normal View History

# pylint: disable=R0903,W0232
2006-04-26 10:48:09 +00:00
"""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