summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-10-28 23:01:21 (GMT)
committerYury Selivanov <yury@magic.io>2016-10-28 23:01:21 (GMT)
commit684ef2c88882d4c1aaf325fd0a5845740f22c8b7 (patch)
treeb762605c9a3d9c62ee6a9eeaa66ee62823fe7129 /Include
parent833c626e6739f7610593e7831166af6d2e064d74 (diff)
downloadcpython-684ef2c88882d4c1aaf325fd0a5845740f22c8b7.zip
cpython-684ef2c88882d4c1aaf325fd0a5845740f22c8b7.tar.gz
cpython-684ef2c88882d4c1aaf325fd0a5845740f22c8b7.tar.bz2
Issue #28544: Pass `PyObject*` to _PyDict_Pop, not `PyDictObject*`
Diffstat (limited to 'Include')
-rw-r--r--Include/dictobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index 5cf6db1..30f114e 100644
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -112,7 +112,7 @@ PyAPI_FUNC(void) _PyDict_MaybeUntrack(PyObject *mp);
PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *mp);
Py_ssize_t _PyDict_KeysSize(PyDictKeysObject *keys);
Py_ssize_t _PyDict_SizeOf(PyDictObject *);
-PyAPI_FUNC(PyObject *) _PyDict_Pop(PyDictObject *, PyObject *, PyObject *);
+PyAPI_FUNC(PyObject *) _PyDict_Pop(PyObject *, PyObject *, PyObject *);
PyObject *_PyDict_FromKeys(PyObject *, PyObject *, PyObject *);
#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)