diff options
author | Thomas Nyberg <tomnyberg@gmail.com> | 2018-03-04 06:06:01 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2018-03-04 06:06:01 (GMT) |
commit | 7023644e0c310a3006c984318c2c111c468735b4 (patch) | |
tree | 5d85c139dbe66ba318d3f469cdbafe61634e13db /Objects | |
parent | 0e6c8ee2358a2e23117501826c008842acb835ac (diff) | |
download | cpython-7023644e0c310a3006c984318c2c111c468735b4.zip cpython-7023644e0c310a3006c984318c2c111c468735b4.tar.gz cpython-7023644e0c310a3006c984318c2c111c468735b4.tar.bz2 |
closes bpo-32980 Remove _PyFrame_Init (GH-5965)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/frameobject.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index d308457..b9f380d 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -552,14 +552,6 @@ PyTypeObject PyFrame_Type = { _Py_IDENTIFIER(__builtins__); -int _PyFrame_Init() -{ - /* Before, PyId___builtins__ was a string created explicitly in - this function. Now there is nothing to initialize anymore, but - the function is kept for backward compatibility. */ - return 1; -} - PyFrameObject* _Py_HOT_FUNCTION _PyFrame_New_NoTrack(PyThreadState *tstate, PyCodeObject *code, PyObject *globals, PyObject *locals) |