summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 18:41:19 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 18:41:19 (GMT)
commit8c49c82889d1af480fa159b56c0e70ef81cf6749 (patch)
treec061a11caf40a1cb30d39ca6cc4d47abcb8d6c52 /Objects/setobject.c
parentb62c433d716c409d5a5ad0c34435bd969c6639af (diff)
downloadcpython-8c49c82889d1af480fa159b56c0e70ef81cf6749.zip
cpython-8c49c82889d1af480fa159b56c0e70ef81cf6749.tar.gz
cpython-8c49c82889d1af480fa159b56c0e70ef81cf6749.tar.bz2
Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 0041a10..ed3d190 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -1958,7 +1958,7 @@ PyFrozenSet_New(PyObject *iterable)
return result;
}
-int
+Py_ssize_t
PySet_Size(PyObject *anyset)
{
if (!PyAnySet_Check(anyset)) {