mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-96803: Add three C-API functions to make _PyInterpreterFrame less opaque for users of PEP 523. (GH-96849)
This commit is contained in:
parent
45a9e3834a
commit
a0df9ee8fc
9 changed files with 48 additions and 8 deletions
|
@ -38,7 +38,7 @@ PyFrame_GetLineNumber(PyFrameObject *f)
|
|||
return f->f_lineno;
|
||||
}
|
||||
else {
|
||||
return _PyInterpreterFrame_GetLine(f->f_frame);
|
||||
return PyUnstable_InterpreterFrame_GetLine(f->f_frame);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue