@ -861,18 +861,18 @@ Z = dataclasses.make_dataclass(<span class="hljs-string">'Z'</span>, [<span clas
<div><h3id="property">Property</h3><p><strong>Pythonic way of implementing getters and setters.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-class"><spanclass="hljs-keyword">class</span><spanclass="hljs-title">Person</span>:</span>
<spanclass="hljs-keyword">return</span><spanclass="hljs-string">' '</span>.join(a.title() <spanclass="hljs-keyword">for</span> a <spanclass="hljs-keyword">in</span>self._name)
<spanclass="hljs-string">'Guido van Rossum'</span>
</code></pre>
<div><h3id="dataclass">Dataclass</h3><p><strong>Decorator that automatically generates init(), repr() and eq() special methods.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> dataclasses <spanclass="hljs-keyword">import</span> dataclass, field