summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2017-11-05 13:37:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-11-05 13:37:50 (GMT)
commita5293b4ff2c1b5446947b4986f98ecf5d52432d4 (patch)
treebe2f5e686be63814c02eabc61a899631ec7a08ac /Doc/library
parentcf296537f164abeacd83011239881f75f290ed31 (diff)
downloadcpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.zip
cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.tar.gz
cpython-a5293b4ff2c1b5446947b4986f98ecf5d52432d4.tar.bz2
Fix miscellaneous typos (#4275)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/asyncio-task.rst2
-rw-r--r--Doc/library/sys.rst2
-rw-r--r--Doc/library/unittest.mock.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 5298c11..fbb31b8 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -374,7 +374,7 @@ Task
running in different threads. While a task waits for the completion of a
future, the event loop executes a new task.
- The cancellation of a task is different from the cancelation of a
+ The cancellation of a task is different from the cancellation of a
future. Calling :meth:`cancel` will throw a
:exc:`~concurrent.futures.CancelledError` to the wrapped
coroutine. :meth:`~Future.cancelled` only returns ``True`` if the
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 853e91b..faf540c 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1336,7 +1336,7 @@ always available.
| | * ``None`` if this information is unknown |
+------------------+---------------------------------------------------------+
| :const:`version` | Name and version of the thread library. It is a string, |
- | | or ``None`` if these informations are unknown. |
+ | | or ``None`` if this information is unknown. |
+------------------+---------------------------------------------------------+
.. versionadded:: 3.3
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index 6fdfdc4..b6eb8cc 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -2374,7 +2374,7 @@ Sealing mocks
any new attribute on the sealed mock. The sealing process is performed recursively.
If a mock instance is assigned to an attribute instead of being dynamically created
- it wont be considered in the sealing chain. This allows to prevent seal from fixing
+ it won't be considered in the sealing chain. This allows to prevent seal from fixing
part of the mock object.
>>> mock = Mock()