gh-92154: Expose PyCode_GetCode in the C API (GH-92168)

This commit is contained in:
Ken Jin 2022-05-03 20:13:13 +07:00 committed by GitHub
parent 1d4a9a45b7
commit 6c7249f265
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 53 additions and 0 deletions

View file

@ -1370,6 +1370,11 @@ _PyCode_GetCode(PyCodeObject *co)
return code;
}
PyObject *
PyCode_GetCode(PyCodeObject *co)
{
return _PyCode_GetCode(co);
}
/******************
* PyCode_Type