diff options
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/sys.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst index c6777d6..95d9d65 100644 --- a/Doc/c-api/sys.rst +++ b/Doc/c-api/sys.rst @@ -49,9 +49,10 @@ Operating System Utilities .. c:function:: void PyOS_AfterFork_Child() - Function to update some internal state after a process fork. This - should be called from the child process after calling :c:func:`fork` - or any similar function that clones the current process. + Function to update internal interpreter state after a process fork. + This must be called from the child process after calling :c:func:`fork`, + or any similar function that clones the current process, if there is + any chance the process will call back into the Python interpreter. Only available on systems where :c:func:`fork` is defined. .. versionadded:: 3.7 |