closes bpo-32980 Remove _PyFrame_Init (GH-5965) · pythoncapi/cpython@7023644 · GitHub
Skip to content

Commit 7023644

Browse files
ApproximateIdentitybenjaminp
authored andcommitted
closes bpo-32980 Remove _PyFrame_Init (pythonGH-5965)
1 parent 0e6c8ee commit 7023644

3 files changed

Lines changed: 0 additions & 12 deletions

File tree

Include/pylifecycle.h

Lines changed: 0 additions & 1 deletion

Objects/frameobject.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -552,14 +552,6 @@ PyTypeObject PyFrame_Type = {
552552

553553
_Py_IDENTIFIER(__builtins__);
554554

555-
int _PyFrame_Init()
556-
{
557-
/* Before, PyId___builtins__ was a string created explicitly in
558-
this function. Now there is nothing to initialize anymore, but
559-
the function is kept for backward compatibility. */
560-
return 1;
561-
}
562-
563555
PyFrameObject* _Py_HOT_FUNCTION
564556
_PyFrame_New_NoTrack(PyThreadState *tstate, PyCodeObject *code,
565557
PyObject *globals, PyObject *locals)

Python/pylifecycle.c

Lines changed: 0 additions & 3 deletions

0 commit comments

Comments
 (0)