diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2016-01-14 13:04:59 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2016-01-14 13:04:59 (GMT) |
commit | 17210f50d24290195154ae9fcdd1f5ac9c58bf1c (patch) | |
tree | a9dfde1afff3f7035b65da0a771e1171ed968205 | |
parent | 397bb2486a50103ce4bea1cc1f60c78c93dbc56f (diff) | |
download | cpython-17210f50d24290195154ae9fcdd1f5ac9c58bf1c.zip cpython-17210f50d24290195154ae9fcdd1f5ac9c58bf1c.tar.gz cpython-17210f50d24290195154ae9fcdd1f5ac9c58bf1c.tar.bz2 |
dictobject.c(dict_sizeof): Make it static again.
-rw-r--r-- | Objects/dictobject.c | 2 |
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)); |