        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_area</span>
</pre></div>
</div>
<p>Note that the class must inherit from <code class="docutils literal notranslate"><span class="pre">object</span></code> now, since the <code class="docutils literal notranslate"><span class="pre">property</span></code> decorator only works for new style classes.</p>
</div>
</div>
<div class="section" id="references">
<h2>References<a class="headerlink" href="#referenc