|
|
@ -1264,7 +1264,7 @@ param_names = list(<sig>.parameters.keys()) |
|
|
|
<pre><code class="python language-python hljs"><span class="hljs-meta">>>> </span>MyClass.a, MyClass.b |
|
|
|
(<span class="hljs-string">'abcde'</span>, <span class="hljs-number">12345</span>) |
|
|
|
</code></pre> |
|
|
|
<h4 id="typediagramabcisastrstrisatype">Type diagram ('abc' is a str, str is a type, …):</h4> |
|
|
|
<h4 id="typediagramstrisaninstanceoftype">Type diagram (str is an instance of type, …):</h4> |
|
|
|
<pre><code class="text language-text">┏━━━━━━━━━┯━━━━━━━━━━━━━┓ |
|
|
|
┃ classes │ metaclasses ┃ |
|
|
|
┠─────────┼─────────────┨ |
|
|
@ -1275,7 +1275,7 @@ param_names = list(<sig>.parameters.keys()) |
|
|
|
┃ str ───────╯ ┃ |
|
|
|
┗━━━━━━━━━┷━━━━━━━━━━━━━┛ |
|
|
|
</code></pre> |
|
|
|
<h4 id="inheritancediagramstrinheritsfromobject">Inheritance diagram (str inherits from object, …):</h4> |
|
|
|
<h4 id="inheritancediagramstrisasubclassofobject">Inheritance diagram (str is a subclass of object, …):</h4> |
|
|
|
<pre><code class="text language-text">┏━━━━━━━━━┯━━━━━━━━━━━━━┓ |
|
|
|
┃ classes │ metaclasses ┃ |
|
|
|
┠─────────┼─────────────┨ |
|
|
|