summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-08-03 14:00:55 +0300
committerGitHub <noreply@github.com>2021-08-03 13:00:55 +0200
commit8c9f847997196aa76500d1ae104cbe7fe2a467ed (patch)
tree6f7b08d25d4ca71d14ac2447e732fcd4b068b76f /Python/ceval.c
parent83ca46b7784b7357d82ec47b33295e09ed7380cb (diff)
downloadcpython-git-8c9f847997196aa76500d1ae104cbe7fe2a467ed.tar.gz
bpo-27275: Change popitem() and pop() methods of collections.OrderedDict (GH-27530)
* Unify the C and Python implementations of OrderedDict.popitem(). The C implementation no longer calls ``__getitem__`` and ``__delitem__`` methods of the OrderedDict subclasses. * Change popitem() and pop() methods of collections.OrderedDict For consistency with dict both implementations (pure Python and C) of these methods in OrderedDict no longer call __getitem__ and __delitem__ methods of the OrderedDict subclasses. Previously only the Python implementation of popitem() did not call them.
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions