Skip to content

Commit b303d1a

Browse files
committed
Tables, 'yes' to 'Yes'
1 parent a25f60d commit b303d1a

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ True
273273
+------------------+------------+------------+------------+
274274
| | Sequence | Collection | Iterable |
275275
+------------------+------------+------------+------------+
276-
| list, range, str | yes | yes | yes |
277-
| dict, set | | yes | yes |
278-
| iter | | | yes |
276+
| list, range, str | Yes | Yes | Yes |
277+
| dict, set | | Yes | Yes |
278+
| iter | | | Yes |
279279
+------------------+------------+------------+------------+
280280
```
281281

@@ -289,11 +289,11 @@ True
289289
+--------------------+----------+----------+----------+----------+----------+
290290
| | Integral | Rational | Real | Complex | Number |
291291
+--------------------+----------+----------+----------+----------+----------+
292-
| int | yes | yes | yes | yes | yes |
293-
| fractions.Fraction | | yes | yes | yes | yes |
294-
| float | | | yes | yes | yes |
295-
| complex | | | | yes | yes |
296-
| decimal.Decimal | | | | | yes |
292+
| int | Yes | Yes | Yes | Yes | Yes |
293+
| fractions.Fraction | | Yes | Yes | Yes | Yes |
294+
| float | | | Yes | Yes | Yes |
295+
| complex | | | | Yes | Yes |
296+
| decimal.Decimal | | | | | Yes |
297297
+--------------------+----------+----------+----------+----------+----------+
298298
```
299299

@@ -337,11 +337,11 @@ String
337337
+---------------+----------+----------+----------+----------+----------+
338338
| | [ !#$%…] | [a-zA-Z] | [¼½¾] | [²³¹] | [0-9] |
339339
+---------------+----------+----------+----------+----------+----------+
340-
| isprintable() | yes | yes | yes | yes | yes |
341-
| isalnum() | | yes | yes | yes | yes |
342-
| isnumeric() | | | yes | yes | yes |
343-
| isdigit() | | | | yes | yes |
344-
| isdecimal() | | | | | yes |
340+
| isprintable() | Yes | Yes | Yes | Yes | Yes |
341+
| isalnum() | | Yes | Yes | Yes | Yes |
342+
| isnumeric() | | | Yes | Yes | Yes |
343+
| isdigit() | | | | Yes | Yes |
344+
| isdecimal() | | | | | Yes |
345345
+---------------+----------+----------+----------+----------+----------+
346346
```
347347
* **Also: `'isspace()'` checks for `'[ \t\n\r\f\v…]'`.**
@@ -1274,13 +1274,13 @@ class MyAbcSequence(abc.Sequence):
12741274
+------------+------------+------------+------------+--------------+
12751275
| | Iterable | Collection | Sequence | abc.Sequence |
12761276
+------------+------------+------------+------------+--------------+
1277-
| iter() | REQ | REQ | yes | yes |
1278-
| contains() | yes | yes | yes | yes |
1277+
| iter() | REQ | REQ | Yes | Yes |
1278+
| contains() | Yes | Yes | Yes | Yes |
12791279
| len() | | REQ | REQ | REQ |
12801280
| getitem() | | | REQ | REQ |
1281-
| reversed() | | | yes | yes |
1282-
| index() | | | | yes |
1283-
| count() | | | | yes |
1281+
| reversed() | | | Yes | Yes |
1282+
| index() | | | | Yes |
1283+
| count() | | | | Yes |
12841284
+------------+------------+------------+------------+--------------+
12851285
```
12861286
* **Other ABCs that generate missing methods are: MutableSequence, Set, MutableSet, Mapping and MutableMapping.**

index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@
398398
<pre><code class="text language-text">+------------------+------------+------------+------------+
399399
| | Sequence | Collection | Iterable |
400400
+------------------+------------+------------+------------+
401-
| list, range, str | yes | yes | yes |
402-
| dict, set | | yes | yes |
403-
| iter | | | yes |
401+
| list, range, str | Yes | Yes | Yes |
402+
| dict, set | | Yes | Yes |
403+
| iter | | | Yes |
404404
+------------------+------------+------------+------------+
405405
</code></pre>
406406
<pre><code class="python language-python hljs"><span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> numbers <span class="hljs-keyword">import</span> Integral, Rational, Real, Complex, Number
@@ -410,11 +410,11 @@
410410
<pre><code class="text language-text">+--------------------+----------+----------+----------+----------+----------+
411411
| | Integral | Rational | Real | Complex | Number |
412412
+--------------------+----------+----------+----------+----------+----------+
413-
| int | yes | yes | yes | yes | yes |
414-
| fractions.Fraction | | yes | yes | yes | yes |
415-
| float | | | yes | yes | yes |
416-
| complex | | | | yes | yes |
417-
| decimal.Decimal | | | | | yes |
413+
| int | Yes | Yes | Yes | Yes | Yes |
414+
| fractions.Fraction | | Yes | Yes | Yes | Yes |
415+
| float | | | Yes | Yes | Yes |
416+
| complex | | | | Yes | Yes |
417+
| decimal.Decimal | | | | | Yes |
418418
+--------------------+----------+----------+----------+----------+----------+
419419
</code></pre>
420420
<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>
@@ -445,11 +445,11 @@
445445
<div><h3 id="propertymethods">Property Methods</h3><pre><code class="text language-text">+---------------+----------+----------+----------+----------+----------+
446446
| | [ !#$%…] | [a-zA-Z] | [¼½¾] | [²³¹] | [0-9] |
447447
+---------------+----------+----------+----------+----------+----------+
448-
| isprintable() | yes | yes | yes | yes | yes |
449-
| isalnum() | | yes | yes | yes | yes |
450-
| isnumeric() | | | yes | yes | yes |
451-
| isdigit() | | | | yes | yes |
452-
| isdecimal() | | | | | yes |
448+
| isprintable() | Yes | Yes | Yes | Yes | Yes |
449+
| isalnum() | | Yes | Yes | Yes | Yes |
450+
| isnumeric() | | | Yes | Yes | Yes |
451+
| isdigit() | | | | Yes | Yes |
452+
| isdecimal() | | | | | Yes |
453453
+---------------+----------+----------+----------+----------+----------+
454454
</code></pre></div>
455455

@@ -1209,13 +1209,13 @@
12091209
<div><h4 id="tableofrequiredandautomaticallyavailablespecialmethods">Table of required and automatically available special methods:</h4><pre><code class="text language-text">+------------+------------+------------+------------+--------------+
12101210
| | Iterable | Collection | Sequence | abc.Sequence |
12111211
+------------+------------+------------+------------+--------------+
1212-
| iter() | REQ | REQ | yes | yes |
1213-
| contains() | yes | yes | yes | yes |
1212+
| iter() | REQ | REQ | Yes | Yes |
1213+
| contains() | Yes | Yes | Yes | Yes |
12141214
| len() | | REQ | REQ | REQ |
12151215
| getitem() | | | REQ | REQ |
1216-
| reversed() | | | yes | yes |
1217-
| index() | | | | yes |
1218-
| count() | | | | yes |
1216+
| reversed() | | | Yes | Yes |
1217+
| index() | | | | Yes |
1218+
| count() | | | | Yes |
12191219
+------------+------------+------------+------------+--------------+
12201220
</code></pre></div>
12211221

0 commit comments

Comments
 (0)