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 @@ -1477,6 +1477,9 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1477
1477
This is not a replacement for :c:func:`PyModule_GetState()`, which
1478
1478
extensions should use to store interpreter-specific state information.
1479
1479
1480
+ The returned dictionary is borrowed from the interpreter and is valid until
1481
+ interpreter shutdown.
1482
+
1480
1483
.. versionadded:: 3.8
1481
1484
1482
1485
Original file line number Diff line number Diff line change @@ -1148,6 +1148,9 @@ PyInterpreterState_Clear:PyInterpreterState*:interp::
1148
1148
PyInterpreterState_Delete:void:::
1149
1149
PyInterpreterState_Delete:PyInterpreterState*:interp::
1150
1150
1151
+ PyInterpreterState_GetDict:PyObject*::0:
1152
+ PyInterpreterState_GetDict:PyInterpreterState*:interp::
1153
+
1151
1154
PyInterpreterState_GetID:int64_t:::
1152
1155
PyInterpreterState_GetID:PyInterpreterState*:interp::
1153
1156
You can’t perform that action at this time.
0 commit comments