blob: d424c822ad42c1d6a027a66a2c35a91a7fc67bfc [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 expr.upper() #pass