mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Correct a couple of unbalanced parenthesis. (GH-10779)
This commit is contained in:
parent
1ce853f377
commit
55f41e45b4
11 changed files with 15 additions and 15 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue