diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-04 04:57:19 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-04 04:57:19 (GMT) |
commit | 3ee6270262627b157bb69169c0fe78855716efdb (patch) | |
tree | 169cc7fbc8cea6edce9a14e1de2ffb72200d0c1e /Doc | |
parent | 6047b5537226efdcd2e3b460957fb44388ec2e99 (diff) | |
download | cpython-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.rst | 2 | ||||
-rw-r--r-- | Doc/library/marshal.rst | 2 | ||||
-rw-r--r-- | Doc/library/urllib.request.rst | 2 |
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, |