Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
refactoring
/
rename
/
renameSelfAndParameterAttribute_after.py
blob: 95c195d896795619b6b33025a9f9e53ac0d225bf [
file
] [
log
] [
blame
]
class
С:
def
__init__
(
self
,
x
=
None
):
if
x
is
None
:
self
.
bar
=
{
'A'
:
{
'x'
:
0
,
'y'
:
0
,
},
}
else
:
# init was given the previous state
assert
isinstance
(
x
,
С)
self
.
bar
=
{
'A'
:
{
'x'
:
x
.
bar
[
'A'
][
'x'
],
'y'
:
x
.
bar
[
'A'
][
'y'
],
},
}