third_party.pylibs.pylint.src/test/input/func_scope_regrtest.py
root 4becf6f9e5 forget the past.
forget the past.
2006-04-26 10:48:09 +00:00

16 lines
341 B
Python

# pylint: disable-msg=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