@ -1879,7 +1879,7 @@ CRITICAL:my_module:Running out of disk space.
<div><h2id="introspection"><ahref="#introspection"name="introspection">#</a>Introspection</h2><pre><codeclass="python language-python hljs"><list> = dir() <spanclass="hljs-comment"># List of local names (variables, funcs, classes, modules).</span>
<dict> = vars() <spanclass="hljs-comment"># Dict of local names and their objects. Also locals().</span>
<dict> = globals() <spanclass="hljs-comment"># Dict of global names (for instance '__builtin__' module).</span>
<dict> = globals() <spanclass="hljs-comment"># Dict of global names and their objects, e.g. __builtin__.</span>
</code></pre></div>
<pre><codeclass="python language-python hljs"><list> = dir(<obj>) <spanclass="hljs-comment"># Returns names of all object's attributes (incl. methods).</span>
@ -1889,7 +1889,7 @@ value = getattr(<obj>, <span class="hljs-string">'<name>'</span>)
setattr(<obj>, <spanclass="hljs-string">'<name>'</span>, value) <spanclass="hljs-comment"># Sets attribute. Only works on objects with __dict__ attr.</span>
delattr(<obj>, <spanclass="hljs-string">'<name>'</span>) <spanclass="hljs-comment"># Deletes attribute from __dict__. Also `del <obj>.<name>`.</span>
</code></pre>
<pre><codeclass="python language-python hljs"><Sig> = inspect.signature(<func>) <spanclass="hljs-comment"># Returns function's Signature object. Can accept a class.</span>
<pre><codeclass="python language-python hljs"><Sig> = inspect.signature(<func>) <spanclass="hljs-comment"># Returns a Signature object of the passed function.</span>
<dict> = <Sig>.parameters <spanclass="hljs-comment"># Returns dict of Parameters. Also <Sig>.return_annotation.</span>
<memb> = <Param>.kind <spanclass="hljs-comment"># Returns ParameterKind member (Parameter.KEYWORD_ONLY, …).</span>
<type> = <Param>.annotation <spanclass="hljs-comment"># Returns Parameter.empty if missing. Also <Param>.default.</span>
@ -2923,7 +2923,7 @@ $ deactivate <span class="hljs-comment"># Deactivates the active