From 025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 5 May 2015 20:16:41 -0400 Subject: PEP 448: additional unpacking generalizations (closes #2292) Patch by Neil Girdhar. --- Include/dictobject.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Include/dictobject.h') diff --git a/Include/dictobject.h b/Include/dictobject.h index 09dff59191..1f4dedb5e8 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -105,6 +105,10 @@ PyAPI_FUNC(int) PyDict_Merge(PyObject *mp, PyObject *other, int override); +#ifndef Py_LIMITED_API +PyAPI_FUNC(PyObject *) _PyDictView_Intersect(PyObject* self, PyObject *other); +#endif + /* PyDict_MergeFromSeq2 updates/merges from an iterable object producing iterable objects of length 2. If override is true, the last occurrence of a key wins, else the first. The Python dict constructor dict(seq2) -- cgit v1.2.1