Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
wrap
/
BackslashOnWrap.after.py
blob: 65995c3264ccbc34f9801bc1bc482230be481e7f [
file
] [
log
] [
blame
]
def
copy_location
(
new_node
,
old_node
):
for
attr
in
'lineno'
,
'col_offset'
:
if
attr
in
old_node
.
_attributes
and
attr
in
new_node
.
_attributes
and
\
hasattr
(
old_node
,
attr
):