<li><strong>Functions and_() and or_() correspond to operators '&' and '|'.</strong></li>
<li><strong>They only work on objects with defined and() and or() special methods, ie. ints and sets.</strong></li>
</ul>
<div><h2id="introspection"><ahref="#introspection"name="introspection">#</a>Introspection</h2><p><strong>Inspecting code at runtime.</strong></p><div><h3id="variables">Variables</h3><pre><codeclass="python language-python hljs"><list> = dir() <spanclass="hljs-comment"># Names of local variables (incl. functions).</span>
<dict> = vars() <spanclass="hljs-comment"># Dict of local variables. Also locals().</span>
<dict> = globals() <spanclass="hljs-comment"># Dict of global variables.</span>