This is not a replacement for :c:func:`PyModule_GetState()`, which
extensions should use to store interpreter-specific state information.
+ The returned dictionary is borrowed from the interpreter and is valid until
+ interpreter shutdown.
+
.. versionadded:: 3.8
PyInterpreterState_Delete:void:::
PyInterpreterState_Delete:PyInterpreterState*:interp::
+PyInterpreterState_GetDict:PyObject*::0:
+PyInterpreterState_GetDict:PyInterpreterState*:interp::
+
PyInterpreterState_GetID:int64_t:::
PyInterpreterState_GetID:PyInterpreterState*:interp::