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`.
1382
1382
This is not a replacement for :c:func:`PyModule_GetState()`, which
1383
1383
extensions should use to store interpreter-specific state information.
1384
1384
1385
+ The returned dictionary is borrowed from the interpreter and is valid until
1386
+ interpreter shutdown.
1387
+
1385
1388
.. versionadded:: 3.8
1386
1389
1387
1390
Original file line number Diff line number Diff line change @@ -1141,6 +1141,9 @@ PyInterpreterState_Clear:PyInterpreterState*:interp::
1141
1141
PyInterpreterState_Delete:void:::
1142
1142
PyInterpreterState_Delete:PyInterpreterState*:interp::
1143
1143
1144
+ PyInterpreterState_GetDict:PyObject*::0:
1145
+ PyInterpreterState_GetDict:PyInterpreterState*:interp::
1146
+
1144
1147
PyInterpreterState_GetID:int64_t:::
1145
1148
PyInterpreterState_GetID:PyInterpreterState*:interp::
1146
1149
You can’t perform that action at this time.
0 commit comments