Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
tools
/
idea
/
3a2425a5aed1bef93dab954745ad5665265eb70b
/
.
/
python
/
resources
/
intentionDescriptions
/
PyConvertMethodToPropertyIntention
/
after.py.template
blob: 1c804030145129cefa96e9819a49e390fd86450d [
file
] [
log
] [
blame
]
Tor Norbye
3a2425a
2013-11-04 10:16:08 -0800
[
diff
] [
blame^
]
1
class
MyClass
(
object
):
2
"""
3
My class to show intention.
4
"""
5
def
__init__
(
self
):
6
self
.
_x
=
None
7
8
@property
9
def
x
(
self
):
10
return
self
.
_x
11
12
13
x
=
MyClass
().
x