Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
refactoring
/
rename
/
renameSelfAndParameterAttribute.py
blob: 8ceb06cafdd75a97d2e3e8ce4d5403fbc3fdd1a8 [
file
] [
log
] [
blame
]
class
С:
def
__init__
(
self
,
x
=
None
):
if
x
is
None
:
self
.
foo
=
{
'A'
:
{
'x'
:
0
,
'y'
:
0
,
},
}
else
:
# init was given the previous state
assert
isinstance
(
x
,
С)
self
.
foo
=
{
'A'
:
{
'x'
:
x
.
f
<
caret
>
oo
[
'A'
][
'x'
],
'y'
:
x
.
foo
[
'A'
][
'y'
],
},
}