summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-04 04:57:19 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-04 04:57:19 (GMT)
commit3ee6270262627b157bb69169c0fe78855716efdb (patch)
tree169cc7fbc8cea6edce9a14e1de2ffb72200d0c1e /Doc
parent6047b5537226efdcd2e3b460957fb44388ec2e99 (diff)
downloadcpython-3ee6270262627b157bb69169c0fe78855716efdb.zip
cpython-3ee6270262627b157bb69169c0fe78855716efdb.tar.gz
cpython-3ee6270262627b157bb69169c0fe78855716efdb.tar.bz2
Fix typos in code comment and documentation
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-sync.rst2
-rw-r--r--Doc/library/marshal.rst2
-rw-r--r--Doc/library/urllib.request.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst
index 1d299ec6..0909352 100644
--- a/Doc/library/asyncio-sync.rst
+++ b/Doc/library/asyncio-sync.rst
@@ -52,7 +52,7 @@ Lock
:meth:`acquire` is a coroutine and should be called with ``yield from``.
Locks also support the context management protocol. ``(yield from lock)``
- should be used as context manager expression.
+ should be used as the context manager expression.
This class is :ref:`not thread safe <asyncio-multithreading>`.
diff --git a/Doc/library/marshal.rst b/Doc/library/marshal.rst
index af43944..d9fd68a 100644
--- a/Doc/library/marshal.rst
+++ b/Doc/library/marshal.rst
@@ -40,7 +40,7 @@ this module. The following types are supported: booleans, integers, floating
point numbers, complex numbers, strings, bytes, bytearrays, tuples, lists, sets,
frozensets, dictionaries, and code objects, where it should be understood that
tuples, lists, sets, frozensets and dictionaries are only supported as long as
-the values contained therein are themselves supported.
+the values contained therein are themselves supported. The
singletons :const:`None`, :const:`Ellipsis` and :exc:`StopIteration` can also be
marshalled and unmarshalled.
For format *version* lower than 3, recursive lists, sets and dictionaries cannot
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index ac8da26..86f4989 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -59,7 +59,7 @@ The :mod:`urllib.request` module defines the following functions:
The *cadefault* parameter is ignored.
- This function always returns an object which can work as
+ This function always returns an object which can work as a
:term:`context manager` and has methods such as
* :meth:`~urllib.response.addinfourl.geturl` --- return the URL of the resource retrieved,