--- a/Doc/c-api/veryhigh.rst Sun Mar 11 19:33:29 2012 +0100 +++ b/Doc/c-api/veryhigh.rst Sun Mar 11 19:26:14 2012 -0700 @@ -147,7 +147,8 @@ Read and execute statements from a file associated with an interactive device until EOF is reached. The user will be prompted using ``sys.ps1`` and ``sys.ps2``. *filename* is decoded from the filesystem encoding - (:func:`sys.getfilesystemencoding`). Returns ``0`` at EOF. + (:func:`sys.getfilesystemencoding`). Returns ``0`` if EOF is reached, or the + return value from `PyRun_InteractiveOneFlags` if an error occurs. .. c:function:: struct _node* PyParser_SimpleParseString(const char *str, int start)