what's the usage of __traceback_hide__
<p>I have seen this line of code in some functions</p>

<pre><code>__traceback_hide__ = True 
</code></pre>

<p>What does it do? It seems like its trying to suppress the error traceback. In what situations should the traceback be hidden?</p>

<p>Googling for "python __traceback_hide__", I learn that it's intended to let a complicated framework hide part of its inner workings by suppressing some stack frames from the exception printout, so that the user does not become confused lots of irrelevant output.</p>

python