We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f59a5bb commit 42ab6b6Copy full SHA for 42ab6b6
1 file changed
src/object/class.cpp
@@ -254,10 +254,6 @@ void instance_holder::install(PyObject* self) throw()
254
255
namespace objects
256
{
257
- extern "C" {
258
- static int (*class_setattro_save)(PyObject *obj, PyObject *name, PyObject* value);
259
- }
260
-
261
// Get the metatype object for all extension classes.
262
BOOST_PYTHON_DECL type_handle class_metatype()
263
@@ -267,7 +263,6 @@ namespace objects
267
class_metatype_object.tp_base = &PyType_Type;
268
264
if (PyType_Ready(&class_metatype_object))
269
265
return type_handle();
270
- class_setattro_save = class_metatype_object.tp_setattro;
271
266
}
272
return type_handle(borrowed(&class_metatype_object));
273
0 commit comments