summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-17 16:01:01 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-17 16:01:01 (GMT)
commit938178283c29cdc2c8f5004d58dff110ac907883 (patch)
tree7d38251f32f2bb35f58e40aed465785f6f7039f4 /Include/object.h
parent8e8a525f229ef6a9e1b881e9b71eda72dabd5007 (diff)
downloadcpython-938178283c29cdc2c8f5004d58dff110ac907883.zip
cpython-938178283c29cdc2c8f5004d58dff110ac907883.tar.gz
cpython-938178283c29cdc2c8f5004d58dff110ac907883.tar.bz2
new names for lots of new functions
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index e2d0329..a9c7dda 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -244,10 +244,10 @@ extern DL_IMPORT PyTypeObject PyType_Type; /* The type of type objects */
/* Generic operations on objects */
extern int PyObject_Print Py_PROTO((PyObject *, FILE *, int));
extern PyObject * PyObject_Repr Py_PROTO((PyObject *));
-extern PyObject * strobject 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 hasattr Py_PROTO((PyObject *, char *));
+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 *));