From 59918e02323c78b8a67ffa492cb75c9251bb25b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 26 Apr 2020 09:31:18 +0200 Subject: [PATCH] Small Fixes --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4c1354c..7e4bf54 100644 --- a/README.md +++ b/README.md @@ -255,7 +255,7 @@ Type (, , ) ``` -#### Some types don't have built-in names, so they must be imported: +#### Some types do not have built-in names, so they must be imported: ```python from types import FunctionType, MethodType, LambdaType, GeneratorType ``` @@ -1480,7 +1480,7 @@ pprint(, width=80, depth=None, compact=False, sort_dicts=True) Input ----- -**Reads a line from the user input or pipe if present.** +**Reads a line from user input or pipe if present.** ```python = input(prompt=None) diff --git a/index.html b/index.html index fec3e5f..240e757 100644 --- a/index.html +++ b/index.html @@ -389,7 +389,7 @@ to_exclusive = <range>.stop
>>> type('a'), 'a'.__class__, str
 (<class 'str'>, <class 'str'>, <class 'str'>)
 
-

Some types don't have built-in names, so they must be imported:

from types import FunctionType, MethodType, LambdaType, GeneratorType
+

Some types do not have built-in names, so they must be imported:

from types import FunctionType, MethodType, LambdaType, GeneratorType
 

Abstract Base Classes

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.

>>> from collections.abc import Sequence, Collection, Iterable
@@ -1380,7 +1380,7 @@ pprint(<collection>, width=80, depth=
 
  • Levels deeper than 'depth' get replaced by '…'.
  • -

    #Input

    Reads a line from the user input or pipe if present.

    <str> = input(prompt=None)
    +

    #Input

    Reads a line from user input or pipe if present.

    <str> = input(prompt=None)