diff --git a/README.md b/README.md index 913b842..e4ed78b 100644 --- a/README.md +++ b/README.md @@ -246,8 +246,8 @@ Type * **Type and class are synonymous.** ```python -<type> = type(<el>) # Or: <el>.__class__ -<bool> = isinstance(<el>, <type>) # Or: issubclass(type(<el>), <type>) +<type> = type(<el>) # Or: <el>.__class__ +<bool> = isinstance(<el>, <type>) # Or: issubclass(type(<el>), <type>) ``` ```python diff --git a/index.html b/index.html index 1f8a60a..aa591e6 100644 --- a/index.html +++ b/index.html @@ -378,8 +378,8 @@ to_exclusive = <range>.stop <li><strong>Everything is an object.</strong></li> <li><strong>Every object has a type.</strong></li> <li><strong>Type and class are synonymous.</strong></li> -</ul><pre><code class="python language-python hljs"><type> = type(<el>) <span class="hljs-comment"># Or: <el>.__class__</span> -<bool> = isinstance(<el>, <type>) <span class="hljs-comment"># Or: issubclass(type(<el>), <type>)</span> +</ul><pre><code class="python language-python hljs"><type> = type(<el>) <span class="hljs-comment"># Or: <el>.__class__</span> +<bool> = isinstance(<el>, <type>) <span class="hljs-comment"># Or: issubclass(type(<el>), <type>)</span> </code></pre></div>