Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyUnresolvedReferencesInspection3K
/
nonexistentMetaclassAttribute.py
blob: 210603a30141dba88eb314675f337dbb697f1f8e [
file
]
class
Meta
(
type
):
def
__new__
(
cls
,
name
,
bases
,
attrs
):
foo
=
"abc"
class
A
(
metaclass
=
Meta
):
pass
print
(
A
().<
warning descr
=
"Unresolved attribute reference 'bar' for class 'A'"
>
bar
</
warning
>)