[Python-checkins] cpython: use defaults
benjamin.peterson
python-checkins at python.org
Sun Feb 19 07:16:17 CET 2012
http://hg.python.org/cpython/rev/a9f090728729
changeset: 75032:a9f090728729
parent: 75030:7cba5bddc0ad
user: Benjamin Peterson <benjamin at python.org>
date: Sun Feb 19 01:16:13 2012 -0500
summary:
use defaults
files:
Objects/funcobject.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -707,8 +707,8 @@
0, /* tp_hash */
function_call, /* tp_call */
0, /* tp_str */
- PyObject_GenericGetAttr, /* tp_getattro */
- PyObject_GenericSetAttr, /* tp_setattro */
+ 0, /* tp_getattro */
+ 0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,/* tp_flags */
func_doc, /* tp_doc */
@@ -885,7 +885,7 @@
0, /* tp_hash */
0, /* tp_call */
0, /* tp_str */
- PyObject_GenericGetAttr, /* tp_getattro */
+ 0, /* tp_getattro */
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list