Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
python
/
testData
/
inspections
/
PyUnresolvedReferencesInspection
/
attributesOfGenerics.py
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