summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/veryhigh.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/veryhigh.rst')
-rw-r--r--Doc/c-api/veryhigh.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst
index 62281aa..d716a46 100644
--- a/Doc/c-api/veryhigh.rst
+++ b/Doc/c-api/veryhigh.rst
@@ -38,6 +38,10 @@ the same library that the Python runtime is using.
interpreter exits due to an exception, or ``2`` if the parameter
list does not represent a valid Python command line.
+ Note that if an otherwise unhandled :exc:`SystemError` is raised, this
+ function will not return ``1``, but exit the process, as long as
+ ``Py_InspectFlag`` is not set.
+
.. cfunction:: int PyRun_AnyFile(FILE *fp, const char *filename)
@@ -80,6 +84,10 @@ the same library that the Python runtime is using.
there was an error, there is no way to get the exception information. For the
meaning of *flags*, see below.
+ Note that if an otherwise unhandled :exc:`SystemError` is raised, this
+ function will not return ``-1``, but exit the process, as long as
+ ``Py_InspectFlag`` is not set.
+
.. cfunction:: int PyRun_SimpleFile(FILE *fp, const char *filename)