Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
quickFixes
/
PyAddPropertyForFieldQuickFixTest
/
useProperty.py
blob: 59357dbfb2419262ebecbe82f22ef79b071946b4 [
file
] [
log
] [
blame
]
class
A
:
@property
def
x
(
self
):
return
self
.
_x
def
__init__
(
self
):
self
.
_x
=
1
def
_foo
(
self
):
print
(
self
.
_x
)
a
=
A
()
a
.
_foo
()
print
(
a
.
x
)
print
(
a
.
_
<
caret
>
x
)