From: Antoine Pitrou Date: Sat, 15 Jan 2011 11:44:17 +0000 (+0000) Subject: Standard streams use file descriptors, not FILE pointers. X-Git-Tag: v3.2rc1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0765dd6b96f159fdf958a00d5c12092c1c368b37;p=python Standard streams use file descriptors, not FILE pointers. --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 671ba2551d..f35df87453 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -100,7 +100,7 @@ Initialization, Finalization, and Threads (``sys.path``) are also separate. The new environment has no ``sys.argv`` variable. It has new standard I/O stream file objects ``sys.stdin``, ``sys.stdout`` and ``sys.stderr`` (however these refer to the same underlying - :c:type:`FILE` structures in the C library). + file descriptors). The return value points to the first thread state created in the new sub-interpreter. This thread state is made in the current thread state.