Skip to content

Commit 59918e0

Browse files
committed
Small Fixes
1 parent 7987149 commit 59918e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Type
255255
(<class 'str'>, <class 'str'>, <class 'str'>)
256256
```
257257

258-
#### Some types don't have built-in names, so they must be imported:
258+
#### Some types do not have built-in names, so they must be imported:
259259
```python
260260
from types import FunctionType, MethodType, LambdaType, GeneratorType
261261
```
@@ -1480,7 +1480,7 @@ pprint(<collection>, width=80, depth=None, compact=False, sort_dicts=True)
14801480

14811481
Input
14821482
-----
1483-
**Reads a line from the user input or pipe if present.**
1483+
**Reads a line from user input or pipe if present.**
14841484

14851485
```python
14861486
<str> = input(prompt=None)

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@
389389
<pre><code class="python language-python hljs"><span class="hljs-meta">&gt;&gt;&gt; </span>type(<span class="hljs-string">'a'</span>), <span class="hljs-string">'a'</span>.__class__, str
390390
(&lt;<span class="hljs-class"><span class="hljs-title">class</span> '<span class="hljs-title">str</span>'&gt;, &lt;<span class="hljs-title">class</span> '<span class="hljs-title">str</span>'&gt;, &lt;<span class="hljs-title">class</span> '<span class="hljs-title">str</span>'&gt;)
391391
</span></code></pre>
392-
<div><h4 id="sometypesdonthavebuiltinnamessotheymustbeimported">Some types don't have built-in names, so they must be imported:</h4><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> types <span class="hljs-keyword">import</span> FunctionType, MethodType, LambdaType, GeneratorType
392+
<div><h4 id="sometypesdonothavebuiltinnamessotheymustbeimported">Some types do not have built-in names, so they must be imported:</h4><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> types <span class="hljs-keyword">import</span> FunctionType, MethodType, LambdaType, GeneratorType
393393
</code></pre></div>
394394

395395
<div><h3 id="abstractbaseclasses">Abstract Base Classes</h3><p><strong>Each abstract base class specifies a set of virtual subclasses. These classes are then recognized by isinstance() and issubclass() as subclasses of the ABC, although they are really not.</strong></p><pre><code class="python language-python hljs"><span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> collections.abc <span class="hljs-keyword">import</span> Sequence, Collection, Iterable
@@ -1380,7 +1380,7 @@
13801380
<ul>
13811381
<li><strong>Levels deeper than 'depth' get replaced by '…'.</strong></li>
13821382
</ul>
1383-
<div><h2 id="input"><a href="#input" name="input">#</a>Input</h2><p><strong>Reads a line from the user input or pipe if present.</strong></p><pre><code class="python language-python hljs">&lt;str&gt; = input(prompt=<span class="hljs-keyword">None</span>)
1383+
<div><h2 id="input"><a href="#input" name="input">#</a>Input</h2><p><strong>Reads a line from user input or pipe if present.</strong></p><pre><code class="python language-python hljs">&lt;str&gt; = input(prompt=<span class="hljs-keyword">None</span>)
13841384
</code></pre></div>
13851385

13861386

0 commit comments

Comments
 (0)