Skip to content

Commit b391d3c

Browse files
committed
Type
1 parent 7acfc68 commit b391d3c

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,15 @@ True
282282
```
283283

284284
```text
285-
+--------------------+----------+----------+------+---------+--------+
286-
| | Integral | Rational | Real | Complex | Number |
287-
+--------------------+----------+----------+------+---------+--------+
288-
| int | yes | yes | yes | yes | yes |
289-
| fractions.Fraction | | yes | yes | yes | yes |
290-
| float | | | yes | yes | yes |
291-
| complex | | | | yes | yes |
292-
| decimal.Decimal | | | | | yes |
293-
+--------------------+----------+----------+------+---------+--------+
285+
+--------------------+----------+----------+--------+---------+--------+
286+
| | Integral | Rational | Real | Complex | Number |
287+
+--------------------+----------+----------+--------+---------+--------+
288+
| int | yes | yes | yes | yes | yes |
289+
| fractions.Fraction | | yes | yes | yes | yes |
290+
| float | | | yes | yes | yes |
291+
| complex | | | | yes | yes |
292+
| decimal.Decimal | | | | | yes |
293+
+--------------------+----------+----------+--------+---------+--------+
294294
```
295295

296296

index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,15 @@
404404
<span class="hljs-meta">&gt;&gt;&gt; </span>isinstance(<span class="hljs-number">123</span>, Number)
405405
<span class="hljs-keyword">True</span>
406406
</code></pre>
407-
<pre><code class="text language-text">+--------------------+----------+----------+------+---------+--------+
408-
| | Integral | Rational | Real | Complex | Number |
409-
+--------------------+----------+----------+------+---------+--------+
410-
| int | yes | yes | yes | yes | yes |
411-
| fractions.Fraction | | yes | yes | yes | yes |
412-
| float | | | yes | yes | yes |
413-
| complex | | | | yes | yes |
414-
| decimal.Decimal | | | | | yes |
415-
+--------------------+----------+----------+------+---------+--------+
407+
<pre><code class="text language-text">+--------------------+----------+----------+--------+---------+--------+
408+
| | Integral | Rational | Real | Complex | Number |
409+
+--------------------+----------+----------+--------+---------+--------+
410+
| int | yes | yes | yes | yes | yes |
411+
| fractions.Fraction | | yes | yes | yes | yes |
412+
| float | | | yes | yes | yes |
413+
| complex | | | | yes | yes |
414+
| decimal.Decimal | | | | | yes |
415+
+--------------------+----------+----------+--------+---------+--------+
416416
</code></pre>
417417
<div><h2 id="string"><a href="#string" name="string">#</a>String</h2><pre><code class="python language-python hljs">&lt;str&gt; = &lt;str&gt;.strip() <span class="hljs-comment"># Strips all whitespace characters from both ends.</span>
418418
&lt;str&gt; = &lt;str&gt;.strip(<span class="hljs-string">'&lt;chars&gt;'</span>) <span class="hljs-comment"># Strips all passed characters from both ends.</span>

web/script_2.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,22 @@ const DIAGRAM_3_B =
4747
'┗━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━━━━━┷━━━━━━━━━━┛\n';
4848

4949
const DIAGRAM_4_A =
50-
'+--------------------+----------+----------+------+---------+--------+\n' +
51-
'| | Integral | Rational | Real | Complex | Number |\n' +
52-
'+--------------------+----------+----------+------+---------+--------+\n';
50+
'+--------------------+----------+----------+--------+---------+--------+\n' +
51+
'| | Integral | Rational | Real | Complex | Number |\n' +
52+
'+--------------------+----------+----------+--------+---------+--------+\n';
5353

5454
const DIAGRAM_4_B =
55-
'┏━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━┯━━━━━━━━━┯━━━━━━━━┓\n' +
56-
'┃ │ Integral │ Rational │ Real │ Complex │ Number ┃\n' +
57-
'┠────────────────────┼──────────┼──────────┼──────┼─────────┼────────┨\n' +
58-
'┃ int │ ✓ │ ✓ │ │ ✓ │ ✓ ┃\n' +
59-
'┃ fractions.Fraction │ │ ✓ │ │ ✓ │ ✓ ┃\n' +
60-
'┃ float │ │ │ │ ✓ │ ✓ ┃\n' +
61-
'┃ complex │ │ │ │ ✓ │ ✓ ┃\n' +
62-
'┃ decimal.Decimal │ │ │ │ │ ✓ ┃\n' +
63-
'┗━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━┷━━━━━━━━━┷━━━━━━━━┛\n';
64-
65-
const DIAGRAM_5_A =
55+
'┏━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━┯━━━━━━━━┓\n' +
56+
'┃ │ Integral │ Rational │ Real │ Complex │ Number ┃\n' +
57+
'┠────────────────────┼──────────┼──────────┼────────┼─────────┼────────┨\n' +
58+
'┃ int │ ✓ │ ✓ │ │ ✓ │ ✓ ┃\n' +
59+
'┃ fractions.Fraction │ │ ✓ │ │ ✓ │ ✓ ┃\n' +
60+
'┃ float │ │ │ │ ✓ │ ✓ ┃\n' +
61+
'┃ complex │ │ │ │ ✓ │ ✓ ┃\n' +
62+
'┃ decimal.Decimal │ │ │ │ │ ✓ ┃\n' +
63+
'┗━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━┷━━━━━━━━┛\n';
64+
65+
const DIAGRAM_5_A =
6666
"+----------------+----------------+---------------+----------------+-----------------+\n" +
6767
"| | {<float>} | {<float>:f} | {<float>:e} | {<float>:%} |\n" +
6868
"+----------------+----------------+---------------+----------------+-----------------+\n";

0 commit comments

Comments
 (0)