diff options
author | Andre Delfino <adelfino@gmail.com> | 2018-12-05 19:45:30 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-05 19:45:30 (GMT) |
commit | 55f41e45b4318cbe19209f5144641344d0049fb8 (patch) | |
tree | ec0b6422a595cf8cfbae67d0525f6644b9314833 /Doc/faq/extending.rst | |
parent | 1ce853f37783575e2b3aaa159ddcebc8660830ef (diff) | |
download | cpython-55f41e45b4318cbe19209f5144641344d0049fb8.zip cpython-55f41e45b4318cbe19209f5144641344d0049fb8.tar.gz cpython-55f41e45b4318cbe19209f5144641344d0049fb8.tar.bz2 |
Correct a couple of unbalanced parenthesis. (GH-10779)
Diffstat (limited to 'Doc/faq/extending.rst')
-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 b611bb4..74e1af6 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> |