Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
refactoring
/
inlineFunction
/
complexQualifier
/
main.py
blob: 429b351489194de9c239d385b691b8cbe1625c37 [
file
]
class
MyClass
:
def
__init__
(
self
,
attr
):
self
.
attr
=
attr
def
__add__
(
self
,
other
):
return
MyClass
(
self
.
attr
+
other
.
attr
)
def
method
(
self
):
print
(
self
.
attr
)
print
(
self
.
attr
)
(
MyClass
(
1
)
+
MyClass
(
2
)).
meth
<
caret
>
od
()