mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
bpo-40421: Cleanup PyFrame C API (GH-32417)
This commit is contained in:
parent
7fbc7f6128
commit
aa5c0a9f8d
3 changed files with 4 additions and 18 deletions
|
@ -1160,7 +1160,7 @@ PyFrame_GetLasti(PyFrameObject *frame)
|
|||
if (lasti < 0) {
|
||||
return -1;
|
||||
}
|
||||
return lasti*2;
|
||||
return lasti * sizeof(_Py_CODEUNIT);
|
||||
}
|
||||
|
||||
PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue