diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-17 05:32:47 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-17 05:32:47 (GMT) |
commit | 6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d (patch) | |
tree | 69e2dda76d29c6ac33906e0ad2e1359c5bc8e0e4 /Doc/library | |
parent | 50dd1f7dd68ed2f526adfebd5caa342e26da4517 (diff) | |
download | cpython-6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d.zip cpython-6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d.tar.gz cpython-6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d.tar.bz2 |
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 2 | ||||
-rw-r--r-- | Doc/library/ctypes.rst | 4 | ||||
-rw-r--r-- | Doc/library/idle.rst | 2 | ||||
-rw-r--r-- | Doc/library/shutil.rst | 2 | ||||
-rw-r--r-- | Doc/library/tarfile.rst | 2 | ||||
-rw-r--r-- | Doc/library/tkinter.tix.rst | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 659b37c..f68b19d 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -513,7 +513,7 @@ Low-level socket operations The *address* must be already resolved to avoid the trap of hanging the entire event loop when the address requires doing a DNS lookup. For - example, it must be an IP address, not an hostname, for + example, it must be an IP address, not a hostname, for :py:data:`~socket.AF_INET` and :py:data:`~socket.AF_INET6` address families. Use :meth:`getaddrinfo` to resolve the hostname asynchronously. diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 828d7ca4..e2a18c1 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -671,7 +671,7 @@ positive integer:: TenPointsArrayType = POINT * 10 -Here is an example of an somewhat artificial data type, a structure containing 4 +Here is an example of a somewhat artificial data type, a structure containing 4 POINTs among other stuff:: >>> from ctypes import * @@ -1888,7 +1888,7 @@ Utility functions .. function:: POINTER(type) This factory function creates and returns a new ctypes pointer type. Pointer - types are cached an reused internally, so calling this function repeatedly is + types are cached and reused internally, so calling this function repeatedly is cheap. *type* must be a ctypes type. diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index 4384d56..df08fe8 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -128,7 +128,7 @@ Find Selection Search for the currently selected string, if there is one. Find in Files... - Open a file search dialog. Put results in an new output window. + Open a file search dialog. Put results in a new output window. Replace... Open a search-and-replace dialog. diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 904627f..c39a19a 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -342,7 +342,7 @@ Directory and files operations Return the path to an executable which would be run if the given *cmd* was called. If no *cmd* would be called, return ``None``. - *mode* is a permission mask passed a to :func:`os.access`, by default + *mode* is a permission mask passed to :func:`os.access`, by default determining if the file exists and executable. When no *path* is specified, the results of :func:`os.environ` are used, diff --git a/Doc/library/tarfile.rst b/Doc/library/tarfile.rst index 5fa4787..bf90fc4 100644 --- a/Doc/library/tarfile.rst +++ b/Doc/library/tarfile.rst @@ -129,7 +129,7 @@ Some facts and figures: | ``'r|bz2'`` | Open a bzip2 compressed *stream* for | | | reading. | +-------------+--------------------------------------------+ - | ``'r|xz'`` | Open a lzma compressed *stream* for | + | ``'r|xz'`` | Open an lzma compressed *stream* for | | | reading. | +-------------+--------------------------------------------+ | ``'w|'`` | Open an uncompressed *stream* for writing. | diff --git a/Doc/library/tkinter.tix.rst b/Doc/library/tkinter.tix.rst index 9de73ad..9da7959 100644 --- a/Doc/library/tkinter.tix.rst +++ b/Doc/library/tkinter.tix.rst @@ -267,7 +267,7 @@ File Selectors The `ExFileSelectBox <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixExFileSelectBox.htm>`_ - widget is usually embedded in a tixExFileSelectDialog widget. It provides an + widget is usually embedded in a tixExFileSelectDialog widget. It provides a convenient method for the user to select files. The style of the :class:`ExFileSelectBox` widget is very similar to the standard file dialog on MS Windows 3.1. |