|
|
@ -1302,7 +1302,7 @@ LogicOp = Enum(<span class="hljs-string">'LogicOp'</span>, {<span class="hljs-st |
|
|
|
<span class="hljs-keyword">raise</span> |
|
|
|
</code></pre></div> |
|
|
|
|
|
|
|
<div><h3 id="attributes-1">Attributes</h3><pre><code class="python language-python hljs">arguments = <name>.args |
|
|
|
<div><h3 id="exceptionobject">Exception Object</h3><pre><code class="python language-python hljs">arguments = <name>.args |
|
|
|
line_num = <name>.__traceback__.tb_lineno |
|
|
|
func_name = <name>.__traceback__.tb_frame.f_code.co_name |
|
|
|
filename = <name>.__traceback__.tb_frame.f_code.co_filename |
|
|
@ -1862,7 +1862,7 @@ last_el = op.methodcaller(<span class="hljs-string">'pop'</span>)(<l |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div><h3 id="attributes-2">Attributes</h3><pre><code class="python language-python hljs"><list> = dir(<object>) <span class="hljs-comment"># Returns names of object's attributes (incl. methods).</span> |
|
|
|
<div><h3 id="attributes-1">Attributes</h3><pre><code class="python language-python hljs"><list> = dir(<object>) <span class="hljs-comment"># Returns names of object's attributes (incl. methods).</span> |
|
|
|
<dict> = vars(<object>) <span class="hljs-comment"># Returns dict of object's fields. Also <object>.__dict__.</span> |
|
|
|
</code></pre></div> |
|
|
|
|
|
|
|
xxxxxxxxxx