mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
gh-92154: Expose PyCode_GetCode in the C API (GH-92168)
This commit is contained in:
parent
1d4a9a45b7
commit
6c7249f265
6 changed files with 53 additions and 0 deletions
|
@ -1370,6 +1370,11 @@ _PyCode_GetCode(PyCodeObject *co)
|
|||
return code;
|
||||
}
|
||||
|
||||
PyObject *
|
||||
PyCode_GetCode(PyCodeObject *co)
|
||||
{
|
||||
return _PyCode_GetCode(co);
|
||||
}
|
||||
|
||||
/******************
|
||||
* PyCode_Type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue