diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-05-05 20:16:41 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-05-05 20:16:41 -0400 |
commit | 025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1 (patch) | |
tree | d769adcb6d4a557a00923f18ed2b0ca8b515a473 /Include/dictobject.h | |
parent | 4ccc1514d070cabe80e8cfa0469dc03c12d08be2 (diff) | |
download | cpython-git-025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1.tar.gz |
PEP 448: additional unpacking generalizations (closes #2292)
Patch by Neil Girdhar.
Diffstat (limited to 'Include/dictobject.h')
-rw-r--r-- | Include/dictobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) |