ranslate"><span class="pre">__init__</span></code> to do something other than initialize the object. This logic should be moved to another instance method and called by the program later, after initialization.</p>
<div class="section" id="anti-pattern">
<h2>Anti-pattern<a class="headerlink" href="#anti-pattern" title="Permalink to this headline">¶</a></h2>
<p>The <code class="docutils literal notranslate"><span class="pre">__init__</span></code> method of the <code class="docutils literal notranslate"><spa