title: Do properties support inheritance?
body: <p>In my code class <code>A</code> has a property, but class <code>B</code> doesn't inherit it. Does <code>@property</code> support inheritance? Or is it my fault?</p>
  
  <pre><code>class A(object):
  
      def __init__(self):
          self._x = 100
  
      @property
      def x(self):
          return self._x
  
      @x.setter
      def x(self, v):
          self._x = v
  
  
  class B(A):
  
      @x.setter
      def x(self, v):
          self._x = v
  </code></pre>
  
  <p>The error message is as below:</p>
  
  <pre><code>Traceback (most recent call last):
    File "test.py", line 9, in &lt;module&gt;
      class B(A):
    File "test.py", line 10, in B
      @x.setter
  NameError: name 'x' is not defined
  </code></pre>