Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
python
/
testData
/
inspections
/
PyUnresolvedReferencesInspection3K
/
metaclassMethods.py
blob: 9742aa1d832caaad95d3aa1b947ebfbca47bbc64 [
file
] [
log
] [
blame
]
class
M
(
type
):
def
baz
(
cls
):
pass
class
B
(
object
):
def
bar
(
self
):
pass
class
C
(
B
,
metaclass
=
M
):
def
foo
(
self
):
pass
C
.
foo
()
C
.
bar
()
C
.
baz
()
c
=
C
()
c
.
foo
()
c
.
bar
()
c
.<
warning descr
=
"Unresolved attribute reference 'baz' for class 'C'"
>
baz
</
warning
>()