<dict> = <Sig>.parameters <spanclass="hljs-comment"># Dict of Parameter objects.</span>
<memb> = <Param>.kind <spanclass="hljs-comment"># Member of ParameterKind enum.</span>
<obj> = <Param>.default <spanclass="hljs-comment"># Default value or <Param>.empty.</span>
<type> = <Param>.annotation <spanclass="hljs-comment"># Type or <Param>.empty.</span>
<obj> = <Param>.default <spanclass="hljs-comment"># Default value or Parameter.empty.</span>
<type> = <Param>.annotation <spanclass="hljs-comment"># Type or Parameter.empty.</span>
</code></pre></div>
<div><h2id="metaprogramming"><ahref="#metaprogramming"name="metaprogramming">#</a>Metaprogramming</h2><p><strong>Code that generates code.</strong></p><div><h3id="type-1">Type</h3><p><strong>Type is the root class. If only passed an object it returns its type (class). Otherwise it creates a new class.</strong></p><pre><codeclass="python language-python hljs"><class> = type(<spanclass="hljs-string">'<class_name>'</span>, <tuple_of_parents>, <dict_of_class_attributes>)</code></pre></div></div>