[Python-checkins] cpython (3.5): genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper

yury.selivanov python-checkins at python.org
Tue Nov 8 19:20:27 EST 2016


https://hg.python.org/cpython/rev/4377f414f4a5
changeset: 104996:4377f414f4a5
branch: 3.5
parent: 104993:251f881e4b53
user: Yury Selivanov <yury at magic.io>
date: Tue Nov 08 19:19:28 2016 -0500
summary:
 genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
files:
 Objects/genobject.c | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Objects/genobject.c b/Objects/genobject.c
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -1031,7 +1031,7 @@
 0, /* tp_init */
 0, /* tp_alloc */
 0, /* tp_new */
- PyObject_Del, /* tp_free */
+ 0, /* tp_free */
 };
 
 PyObject *
@@ -1116,7 +1116,7 @@
 0, /* tp_init */
 0, /* tp_alloc */
 0, /* tp_new */
- PyObject_Del, /* tp_free */
+ 0, /* tp_free */
 };
 
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /