diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-05 12:15:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 12:15:54 -0800 |
commit | 349d9910b225f2425391b754f36579b6988e2882 (patch) | |
tree | afebf7f3cfa774297dfaf2e7315806cc5fc9d3e5 /Doc/faq | |
parent | d2c7c1f7681bee77b221fb645a15a548bb3dd745 (diff) | |
download | cpython-git-349d9910b225f2425391b754f36579b6988e2882.tar.gz |
Correct a couple of unbalanced parenthesis. (GH-10779)
(cherry picked from commit 55f41e45b4318cbe19209f5144641344d0049fb8)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/faq')
-rw-r--r-- | Doc/faq/extending.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/extending.rst b/Doc/faq/extending.rst index b611bb4801..74e1af6ef2 100644 --- a/Doc/faq/extending.rst +++ b/Doc/faq/extending.rst @@ -277,7 +277,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> |