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 @@ -1547,6 +1547,9 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1547
1547
This is not a replacement for :c:func:`PyModule_GetState()`, which
1548
1548
extensions should use to store interpreter-specific state information.
1549
1549
1550
+ The returned dictionary is borrowed from the interpreter and is valid until
1551
+ interpreter shutdown.
1552
+
1550
1553
.. versionadded:: 3.8
1551
1554
1552
1555
Original file line number Diff line number Diff line change @@ -1144,6 +1144,9 @@ PyInterpreterState_Clear:PyInterpreterState*:interp::
1144
1144
PyInterpreterState_Delete:void:::
1145
1145
PyInterpreterState_Delete:PyInterpreterState*:interp::
1146
1146
1147
+ PyInterpreterState_GetDict:PyObject*::0:
1148
+ PyInterpreterState_GetDict:PyInterpreterState*:interp::
1149
+
1147
1150
PyInterpreterState_GetID:int64_t:::
1148
1151
PyInterpreterState_GetID:PyInterpreterState*:interp::
1149
1152
You can’t perform that action at this time.
0 commit comments