summaryrefslogtreecommitdiff
path: root/python/testData/intentions/PyConvertMethodToPropertyIntentionTest/simple.py
blob: ec8c4daecb41497fe738b51e92df1473d581db31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class MyClass(object):
  """
  My class to show intention.
  """
  def __init__(self):
      self._x = None

  def x<caret>(self):
      return self._x


x = MyClass().x()