diff options
author | Guido van Rossum <guido@python.org> | 1997-09-06 18:44:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-06 18:44:59 (GMT) |
commit | 114c1eabbb658fde77a3d133ef92d0ddfb4d8399 (patch) | |
tree | 6d4eb919c63fc27ac7a499e1b8640a03c054dad1 | |
parent | 6c61242c7832459932c4b9e3ede6efa8dc2f8cbe (diff) | |
download | cpython-114c1eabbb658fde77a3d133ef92d0ddfb4d8399.zip cpython-114c1eabbb658fde77a3d133ef92d0ddfb4d8399.tar.gz cpython-114c1eabbb658fde77a3d133ef92d0ddfb4d8399.tar.bz2 |
#Added prototype for PyObject_HasAttr() -- must've been an oversight.
-rw-r--r-- | Include/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index b3f18d7..4ab8fde 100644 --- a/Include/object.h +++ b/Include/object.h @@ -268,6 +268,7 @@ 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 *)); +extern int PyObject_HasAttr Py_PROTO((PyObject *, PyObject *)); extern long PyObject_Hash Py_PROTO((PyObject *)); extern int PyObject_IsTrue Py_PROTO((PyObject *)); extern int PyCallable_Check Py_PROTO((PyObject *)); |