Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
refactoring
/
rename
/
renameOldStyleProperty.py
blob: 57b9326c7e0786836718b7909d2ab046738e3de4 [
file
] [
log
] [
blame
]
class
C
(
object
):
def
__init__
(
self
):
self
.
_foo
=
'foo'
def
get_foo
(
self
):
return
self
.
_foo
def
set_foo
(
self
,
value
):
self
.
_foo
=
value
def
__str__
(
self
):
return
self
.
foo
foo
=
property
(
get_foo
,
set_foo
)
c
=
C
()
print
(
c
.
f
<
caret
>
oo
)