<div><h2id="tuple"><ahref="#tuple"name="tuple">#</a>Tuple</h2><p><strong>Tuple is an immutable and hashable list.</strong></p><pre><codeclass="python language-python hljs"><tuple> = ()
<div><h2id="tuple"><ahref="#tuple"name="tuple">#</a>Tuple</h2><p><strong>Tuple is an immutable and hashable list.</strong></p><pre><codeclass="python language-python hljs"><tuple> = ()<spanclass="hljs-comment"># Or: tuple()</span>
<div><h3id="typediagram">Type Diagram</h3><pre><codeclass="python language-python hljs">type(MyClass) == MyMetaClass <spanclass="hljs-comment"># MyClass is an instance of MyMetaClass.</span>
<div><h3id="typediagram">Type Diagram</h3><pre><codeclass="python language-python hljs">type(MyClass) == MyMetaClass<spanclass="hljs-comment"># MyClass is an instance of MyMetaClass.</span>
type(MyMetaClass) == type <spanclass="hljs-comment"># MyMetaClass is an instance of type.</span>
type(MyMetaClass) == type <spanclass="hljs-comment"># MyMetaClass is an instance of type.</span>
</code></pre></div>
</code></pre></div>
@ -1866,7 +1866,7 @@ type(MyMetaClass) == type <span class="hljs-comment"># MyMetaClass is
┃ str ──────────╯ ┃
┃ str ──────────╯ ┃
┗━━━━━━━━━━━━━┷━━━━━━━━━━━━━┛
┗━━━━━━━━━━━━━┷━━━━━━━━━━━━━┛
</code></pre>
</code></pre>
<div><h3id="inheritancediagram">Inheritance Diagram</h3><pre><codeclass="python language-python hljs">MyClass.__base__ == object <spanclass="hljs-comment"># MyClass is a subclass of object.</span>
<div><h3id="inheritancediagram">Inheritance Diagram</h3><pre><codeclass="python language-python hljs">MyClass.__base__ == object<spanclass="hljs-comment"># MyClass is a subclass of object.</span>
MyMetaClass.__base__ == type <spanclass="hljs-comment"># MyMetaClass is a subclass of type.</span>
MyMetaClass.__base__ == type <spanclass="hljs-comment"># MyMetaClass is a subclass of type.</span>