diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-22 06:16:18 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-22 06:16:18 (GMT) |
commit | 0ce7a3a34cec0e625f63d46390a8c1d2e167494f (patch) | |
tree | b4de6a4570fc14109dcc2b2c4f5adc2b3be8d2af /Include/dictobject.h | |
parent | 5af856404afc1b1e6b9dd4ac86a5771a407cbc6a (diff) | |
download | cpython-0ce7a3a34cec0e625f63d46390a8c1d2e167494f.zip cpython-0ce7a3a34cec0e625f63d46390a8c1d2e167494f.tar.gz cpython-0ce7a3a34cec0e625f63d46390a8c1d2e167494f.tar.bz2 |
Issue #25914: Fixed and simplified OrderedDict.__sizeof__.
Diffstat (limited to 'Include/dictobject.h')
-rw-r--r-- | Include/dictobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h index 80bd330..ba90aaf 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -98,7 +98,7 @@ PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused); PyAPI_FUNC(void) _PyDict_MaybeUntrack(PyObject *mp); PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *mp); Py_ssize_t _PyDict_KeysSize(PyDictKeysObject *keys); -PyObject *_PyDict_SizeOf(PyDictObject *); +Py_ssize_t _PyDict_SizeOf(PyDictObject *); PyObject *_PyDict_Pop(PyDictObject *, PyObject *, PyObject *); PyObject *_PyDict_FromKeys(PyObject *, PyObject *, PyObject *); #define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL) |