[Python-checkins] cpython (3.5): dictobject.c(dict_sizeof): Make it static again.
matthias.klose
python-checkins at python.org
Thu Jan 14 08:05:32 EST 2016
https://hg.python.org/cpython/rev/d48948c13473
changeset: 99885:d48948c13473
branch: 3.5
parent: 99876:5a2692911a43
user: doko at ubuntu.com
date: Thu Jan 14 14:04:59 2016 +0100
summary:
dictobject.c(dict_sizeof): Make it static again.
files:
Objects/dictobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2576,7 +2576,7 @@
return sizeof(PyDictKeysObject) + (DK_SIZE(keys)-1) * sizeof(PyDictKeyEntry);
}
-PyObject *
+static PyObject *
dict_sizeof(PyDictObject *mp)
{
return PyLong_FromSsize_t(_PyDict_SizeOf(mp));
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list