diff options
author | Raymond Hettinger <python@rcn.com> | 2005-08-16 10:44:15 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-08-16 10:44:15 (GMT) |
commit | c47e01d02021253dd9f8fd4ced6eb663436431bb (patch) | |
tree | 3dfdff12be9ad6bcd12db7f2e4caa770c66cf069 /Include/setobject.h | |
parent | 994c2c1c69d86ca1b94a489ba573078297996a6d (diff) | |
download | cpython-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.h | 2 |
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); |