blob: b7fc3e6b4416ccb046eaecf20c5b426b225a9373 [file] [log] [blame]
class B(object):
def __init__(self, x):
"""
:type x: T
:rtype: B of T
"""
self._x = x
def foo(self):
"""
:rtype: T
"""
return self._x
class C(B):
def bar(self):
expr = self.foo()
return 'foo' + expr #pass