From 46aa472a8f2dd9e47ba6fbe3cc416ec7c62f11f4 Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Thu, 6 Dec 2018 06:19:23 -0300 Subject: [2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963) (cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8) --- Doc/c-api/buffer.rst | 2 +- Doc/faq/extending.rst | 2 +- Doc/library/sysconfig.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst index 4e5a043..77940ac 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 4be58d6..0a256b5 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 diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index 3b58266..7655c60 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) -- cgit v0.12