Commits

Ronald Oussoren committed 6da7149

Set tp_getattro instead of tp_getattr (the latter is long deprecated and has a different API)

Comments (0)

Files changed (1)

pyobjc-core/Modules/objc/ObjCPointer.m

 	/* methods */
 	PyObjCPointer_dealloc,			/* tp_dealloc */
 	0,					/* tp_print */
-	PyObject_GenericGetAttr,                /* tp_getattr */
+	0,                                      /* tp_getattr */
 	0,					/* tp_setattr */
 	0,					/* tp_compare */
 	0,					/* tp_repr */
 	0,					/* tp_hash */
 	0,					/* tp_call */
 	0,					/* tp_str */
-	0,					/* tp_getattro */
+	PyObject_GenericGetAttr,				/* tp_getattro */
 	0,					/* tp_setattro */
 	0,					/* tp_as_buffer */
 	Py_TPFLAGS_DEFAULT,			/* tp_flags */