diff options
author | Georg Brandl <georg@python.org> | 2011-05-15 06:50:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-05-15 06:50:32 (GMT) |
commit | 11041f0af94aec94500a5fd65f709d9de00bc943 (patch) | |
tree | 468b4dc32de992e92e8a5fa7741c9ac36e796e0f /Doc/c-api | |
parent | fb1d60c800bd833e2d32c859df206e267ad62637 (diff) | |
download | cpython-11041f0af94aec94500a5fd65f709d9de00bc943.zip cpython-11041f0af94aec94500a5fd65f709d9de00bc943.tar.gz cpython-11041f0af94aec94500a5fd65f709d9de00bc943.tar.bz2 |
Port #6498 fix: fix several misspellings of "SystemExit" as "SystemError".
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/veryhigh.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/veryhigh.rst b/Doc/c-api/veryhigh.rst index 23f7c85..927368d 100644 --- a/Doc/c-api/veryhigh.rst +++ b/Doc/c-api/veryhigh.rst @@ -32,11 +32,11 @@ the same library that the Python runtime is using. prepared exactly as those which are passed to a C program's :cfunc:`main` function. It is important to note that the argument list may be modified (but the contents of the strings pointed to by the argument list are not). The return - value will be the integer passed to the :func:`sys.exit` function, ``1`` if the - interpreter exits due to an exception, or ``2`` if the parameter list does not - represent a valid Python command line. + value will be ```0``` if the interpreter exits normally (ie, without an + exception), ``1`` if the 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 + Note that if an otherwise unhandled :exc:`SystemExit` is raised, this function will not return ``1``, but exit the process, as long as ``Py_InspectFlag`` is not set. @@ -82,7 +82,7 @@ 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 + Note that if an otherwise unhandled :exc:`SystemExit` is raised, this function will not return ``-1``, but exit the process, as long as ``Py_InspectFlag`` is not set. |