summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2018-12-06 06:19:23 -0300
committerSerhiy Storchaka <storchaka@gmail.com>2018-12-06 11:19:23 +0200
commit46aa472a8f2dd9e47ba6fbe3cc416ec7c62f11f4 (patch)
treeb2213eb0d88bb91a99d20c5049cbf6bcee4f482d
parent358fc87f53cf97a1768d5b1ded08f2a564f9fd85 (diff)
downloadcpython-git-46aa472a8f2dd9e47ba6fbe3cc416ec7c62f11f4.tar.gz
[2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963)
(cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)
-rw-r--r--Doc/c-api/buffer.rst2
-rw-r--r--Doc/faq/extending.rst2
-rw-r--r--Doc/library/sysconfig.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 4e5a04397a..77940acaf6 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 4be58d6971..0a256b56ee 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 3b58266d22..7655c60c40 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)