title: Python property setter decoration of a list object
body: <pre><code>globalList = []
  class MyList:
      def __init__(self):
          self.myList = [1, 2, 3]
  
      @property
      def myList(self):
          return self.myList.extend(globalList)
      @myList.setter
      def myList(self):
          return self.myList
  mL1 = MyList()
  print("myList: ", mL1.myList)
  mL1.myList.append(4)
  print("after appending a 4, myList: ", mL1.myList)
  </code></pre>
  
  <p>my goal is to be able to call mL1.myList which evaluates the myList instance attribute and a global object globalList, but here is the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Documents and Settings\Administrator\Desktop\Dropbox\sandbox.py", line 14, in &lt;module&gt;
      mL1 = MyList()
    File "C:\Documents and Settings\Administrator\Desktop\Dropbox\sandbox.py", line 6, in __init__
      self.myList = [1, 2, 3]
  TypeError: myList() takes 1 positional argument but 2 were given
  </code></pre>
  
  <p>What should I do to resolve this issue?</p>