e by such a comment, then it is treated as a
docstring for that variable: </p>

<div class="screen2"><pre>
<code class="prompt">&gt;&gt;&gt;</code> <code class="comment">#: docstring for x</code>
<code class="prompt">...</code> x = 22
<code class="prompt">&gt;&gt;&gt;</code> x = 22 <code class="comment">#: docstring for x</code>
</pre></div>

<p> A common Python idiom is to create instance variables settings their
default value in the class instead of the constructor (hopefully if the default
is immutable..