[Python-checkins] [2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963)

Serhiy Storchaka webhook-mailer at python.org
Thu Dec 6 04:19:28 EST 2018


https://github.com/python/cpython/commit/46aa472a8f2dd9e47ba6fbe3cc416ec7c62f11f4
commit: 46aa472a8f2dd9e47ba6fbe3cc416ec7c62f11f4
branch: 2.7
author: Andre Delfino <adelfino at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-12-06T11:19:23+02:00
summary:

[2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963)

(cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)

files:
M Doc/c-api/buffer.rst
M Doc/faq/extending.rst
M Doc/library/sysconfig.rst

diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 4e5a04397a35..77940acaf600 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -98,7 +98,7 @@ The new-style Py_buffer struct
       suboffset value that it negative indicates that no de-referencing should
       occur (striding in a contiguous memory block).
 
-      If all suboffsets are negative (i.e. no de-referencing is needed, then
+      If all suboffsets are negative (i.e. no de-referencing is needed), then
       this field must be NULL (the default value).
 
       Here is a function that returns a pointer to the element in an N-D array
diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst
index 4be58d69714c..0a256b56eed2 100644
--- a/Doc/faq/extending.rst
+++ b/Doc/faq/extending.rst
@@ -286,7 +286,7 @@ However sometimes you have to run the embedded Python interpreter in the same
 thread as your rest application and you can't allow the
 :c:func:`PyRun_InteractiveLoop` to stop while waiting for user input.  The one
 solution then is to call :c:func:`PyParser_ParseString` and test for ``e.error``
-equal to ``E_EOF``, which means the input is incomplete).  Here's a sample code
+equal to ``E_EOF``, which means the input is incomplete.  Here's a sample code
 fragment, untested, inspired by code from Alex Farber::
 
    #include <Python.h>
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index 3b58266d228a..7655c60c4041 100644
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -188,7 +188,7 @@ Other functions
 
    Windows will return one of:
 
-   - win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
+   - win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
    - win-ia64 (64bit Windows on Itanium)
    - win32 (all others - specifically, sys.platform is returned)
 



More information about the Python-checkins mailing list