summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2016-01-14 13:04:59 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2016-01-14 13:04:59 (GMT)
commit17210f50d24290195154ae9fcdd1f5ac9c58bf1c (patch)
treea9dfde1afff3f7035b65da0a771e1171ed968205
parent397bb2486a50103ce4bea1cc1f60c78c93dbc56f (diff)
downloadcpython-17210f50d24290195154ae9fcdd1f5ac9c58bf1c.zip
cpython-17210f50d24290195154ae9fcdd1f5ac9c58bf1c.tar.gz
cpython-17210f50d24290195154ae9fcdd1f5ac9c58bf1c.tar.bz2
dictobject.c(dict_sizeof): Make it static again.
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index f53cd40..9a30fa8 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2576,7 +2576,7 @@ _PyDict_KeysSize(PyDictKeysObject *keys)
return sizeof(PyDictKeysObject) + (DK_SIZE(keys)-1) * sizeof(PyDictKeyEntry);
}
-PyObject *
+static PyObject *
dict_sizeof(PyDictObject *mp)
{
return PyLong_FromSsize_t(_PyDict_SizeOf(mp));