Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
python
/
testData
/
resolve
/
PreferInitForAttributes.py
blob: 2466ea043181deb14b6359204a4c842cfe145606 [
file
] [
log
] [
blame
]
class
Foo
:
def
__init__
(
self
):
self
.
xyzzy
=
1
def
bar
(
self
):
if
self
.
xyzzy
:
self
.
xyzzy
=
None
else
:
self
.
xyzzy
+=
1
def
baz
(
self
):
print
(
self
.
xyzzy
)
# <ref>