@ -684,7 +684,7 @@ direction = Direction.N <span class="hljs-comment">#
Player = make_dataclass(<spanclass="hljs-string">'Player'</span>, [<spanclass="hljs-string">'loc'</span>, <spanclass="hljs-string">'dir'</span>]) <spanclass="hljs-comment"># Creates a class.</span>
player = Player(point, direction) <spanclass="hljs-comment"># Returns its instance.</span>
</code></pre>
<div><h2id="imports"><ahref="#imports"name="imports">#</a>Imports</h2><p><strong>Mechanism that makes code in one module available to another module.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">import</span><module><spanclass="hljs-comment"># Imports a built-in or '<module>.py'.</span>
<div><h2id="imports"><ahref="#imports"name="imports">#</a>Imports</h2><p><strong>Mechanism that makes code in one file available to another file.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">import</span><module><spanclass="hljs-comment"># Imports a built-in or '<module>.py'.</span>
<spanclass="hljs-keyword">import</span><package><spanclass="hljs-comment"># Imports a built-in or '<package>/__init__.py'.</span>
<spanclass="hljs-keyword">import</span><package>.<module><spanclass="hljs-comment"># Imports a built-in or '<package>/<module>.py'.</span>