summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorOren Milman <orenmn@gmail.com>2017-10-08 08:17:46 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-10-08 08:17:46 (GMT)
commit0ccc0f6c7495be9043300e22d8f38e6d65e8884f (patch)
tree0e93d02086fb4997860e82ca68969a5cfbe24a2f /Doc/whatsnew
parentf07e2b64df6304a36fb5e29397d3c77a7ba17704 (diff)
downloadcpython-0ccc0f6c7495be9043300e22d8f38e6d65e8884f.zip
cpython-0ccc0f6c7495be9043300e22d8f38e6d65e8884f.tar.gz
cpython-0ccc0f6c7495be9043300e22d8f38e6d65e8884f.tar.bz2
bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() always return a list (#3840)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index ecdd2fe..24a1dc4 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -404,6 +404,10 @@ Build and C API Changes
is now of type ``const char *`` rather of ``char *``. (Contributed by Serhiy
Storchaka in :issue:`28769`.)
+* The result of :c:func:`PyMapping_Keys`, :c:func:`PyMapping_Values` and
+ :c:func:`PyMapping_Items` is now always a list, rather than a list or a
+ tuple. (Contributed by Oren Milman in :issue:`28280`.)
+
* Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
(Contributed by Serhiy Storchaka in :issue:`27867`.)