summaryrefslogtreecommitdiffstats
path: root/Include/setobject.h
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-08-16 10:44:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-08-16 10:44:15 (GMT)
commitc47e01d02021253dd9f8fd4ced6eb663436431bb (patch)
tree3dfdff12be9ad6bcd12db7f2e4caa770c66cf069 /Include/setobject.h
parent994c2c1c69d86ca1b94a489ba573078297996a6d (diff)
downloadcpython-c47e01d02021253dd9f8fd4ced6eb663436431bb.zip
cpython-c47e01d02021253dd9f8fd4ced6eb663436431bb.tar.gz
cpython-c47e01d02021253dd9f8fd4ced6eb663436431bb.tar.bz2
Numerous fix-ups to C API and docs. Added tests for C API.
Diffstat (limited to 'Include/setobject.h')
-rw-r--r--Include/setobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index b6849e1..1b0e5b1 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -79,7 +79,7 @@ PyAPI_FUNC(PyObject *) PyFrozenSet_New(PyObject *);
PyAPI_FUNC(int) PySet_Size(PyObject *anyset);
#define PySet_GET_SIZE(so) (((PySetObject *)(so))->used)
PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key);
-PyAPI_FUNC(int) PySet_Discard(PyObject *anyset, PyObject *key);
+PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key);
PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key);
PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set);