File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1382,6 +1382,9 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
13821382 This is not a replacement for :c:func:`PyModule_GetState()`, which
13831383 extensions should use to store interpreter-specific state information.
13841384
1385+ The returned dictionary is borrowed from the interpreter and is valid until
1386+ interpreter shutdown.
1387+
13851388 .. versionadded:: 3.8
13861389
13871390
Original file line number Diff line number Diff line change @@ -1141,6 +1141,9 @@ PyInterpreterState_Clear:PyInterpreterState*:interp::
11411141PyInterpreterState_Delete:void:::
11421142PyInterpreterState_Delete:PyInterpreterState*:interp::
11431143
1144+ PyInterpreterState_GetDict:PyObject*::0:
1145+ PyInterpreterState_GetDict:PyInterpreterState*:interp::
1146+
11441147PyInterpreterState_GetID:int64_t:::
11451148PyInterpreterState_GetID:PyInterpreterState*:interp::
11461149
You can’t perform that action at this time.
0 commit comments