From b13afdd6f4916551e49c7357d72b72d0c762cb1f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 17 Feb 1995 15:01:21 +0000 Subject: [PATCH] added PyObject_IsTrue & PyCallable_Check to object interface --- Include/object.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Include/object.h b/Include/object.h index a9c7ddaa2c7..98a6b75f16c 100644 --- a/Include/object.h +++ b/Include/object.h @@ -251,6 +251,8 @@ 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 *)); extern long PyObject_Hash Py_PROTO((PyObject *)); +extern int PyObject_IsTrue Py_PROTO((PyObject *)); +extern int PyCallable_Check Py_PROTO((PyObject *)); /* Flag bits for printing: */ #define Py_PRINT_RAW 1 /* No string quotes etc. */