title: Python: multiple properties, one setter/getter
body: <p>Consider the following class definitions</p>
  
  <pre><code>class of2010(object):
      def __init__(self):
          self._a = 1
          self._b = 2
          self._c = 3
  
      def set_a(self,value):
          print('setting a...')
          self._a = value
      def set_b(self,value):
          print('setting b...')
          self._b = value
      def set_c(self,value):
          print('setting c...')
          self._c = value
      a = property(fset=self.set_a)
      b = property(fset=self.set_b)
      c = property(fset=self.set_c)
  </code></pre>
  
  <p>note that <code>set_[a|b|c]()</code> do the same thing. is there a way do define:</p>
  
  <pre><code>def set_magic(self,value):
      print('setting &lt;???&gt;...')
      self._??? = value
  </code></pre>
  
  <p>once and use it for a,b,c as follows</p>
  
  <pre><code>a = property(fset=self.set_magic)
  b = property(fset=self.set_magic)
  c = property(fset=self.set_magic)
  </code></pre>