Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
GenericArguments.py
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