From 9db5576a1824fa38abe2a11c43df4adee78b26c4 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Mon, 6 Feb 2006 16:47:47 +0000 Subject: [PATCH] add missings getattro git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8729 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pyrun.swg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 909ec3354..2867036d7 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -621,7 +621,7 @@ _PySwigObject_type(void) { (hashfunc)0, /* tp_hash */ (ternaryfunc)0, /* tp_call */ (reprfunc)PySwigObject_str, /* tp_str */ - 0, /* tp_getattro */ + PyObject_GenericGetAttr, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT, /* tp_flags */ @@ -784,7 +784,7 @@ _PySwigPacked_type(void) { (hashfunc)0, /* tp_hash */ (ternaryfunc)0, /* tp_call */ (reprfunc)PySwigPacked_str, /* tp_str */ - 0, /* tp_getattro */ + PyObject_GenericGetAttr, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT, /* tp_flags */