]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[2.7] Correct a couple of unbalanced parenthesis. (GH-10779). (GH-10963)
authorAndre Delfino <adelfino@gmail.com>
Thu, 6 Dec 2018 09:19:23 +0000 (06:19 -0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 6 Dec 2018 09:19:23 +0000 (11:19 +0200)
(cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)

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

index 4e5a04397a358a77d77662cd71bb60db8ef1dbf3..77940acaf6008fbad9651ffcc4b3a8ef75e6c68e 100644 (file)
@@ -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
index 4be58d69714cf76512e55a08ab5d972cffa5b367..0a256b56eed225187a381fd5321e82e876f845bc 100644 (file)
@@ -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>
index 3b58266d228aecf6603fce71a4c922e6821fd133..7655c60c40417fefd7b8f892c0be5ddee1c6834c 100644 (file)
@@ -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)