diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2019-03-01 23:50:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 23:50:31 (GMT) |
commit | bcfa450f210074e16feb761ae5b3e966a2532fcf (patch) | |
tree | f35f16dc1d0689236065b87ac2a3d65f44c90c91 /Objects/object.c | |
parent | 1f24a719e7be5e49b876a5dc7daf21d01ee69faa (diff) | |
download | cpython-bcfa450f210074e16feb761ae5b3e966a2532fcf.zip cpython-bcfa450f210074e16feb761ae5b3e966a2532fcf.tar.gz cpython-bcfa450f210074e16feb761ae5b3e966a2532fcf.tar.bz2 |
bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c index cf5264b..b446d59 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -5,6 +5,7 @@ #include "pycore_pystate.h" #include "pycore_context.h" #include "frameobject.h" +#include "interpreteridobject.h" #ifdef __cplusplus extern "C" { @@ -1806,6 +1807,7 @@ _PyTypes_Init(void) INIT_TYPE(&PySeqIter_Type, "sequence iterator"); INIT_TYPE(&PyCoro_Type, "coroutine"); INIT_TYPE(&_PyCoroWrapper_Type, "coroutine wrapper"); + INIT_TYPE(&_PyInterpreterID_Type, "interpreter ID"); return _Py_INIT_OK(); #undef INIT_TYPE |