From 454674d5dbbaf11364f947065cfbef98043c710d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 26 Jul 1995 17:53:29 +0000 Subject: [PATCH] add forgotten PyObject_SetAttrString --- Include/object.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Include/object.h b/Include/object.h index 55c972223da..07f76468a86 100644 --- a/Include/object.h +++ b/Include/object.h @@ -247,6 +247,7 @@ extern PyObject * PyObject_Repr Py_PROTO((PyObject *)); extern PyObject * PyObject_Str Py_PROTO((PyObject *)); extern int PyObject_Compare Py_PROTO((PyObject *, PyObject *)); extern PyObject *PyObject_GetAttrString Py_PROTO((PyObject *, char *)); +extern int PyObject_SetAttrString Py_PROTO((PyObject *, char *, PyObject *)); extern int PyObject_HasAttrString Py_PROTO((PyObject *, char *)); extern PyObject *PyObject_GetAttr Py_PROTO((PyObject *, PyObject *)); extern int PyObject_SetAttr Py_PROTO((PyObject *, PyObject *, PyObject *));