diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-08-03 14:00:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 13:00:55 +0200 |
commit | 8c9f847997196aa76500d1ae104cbe7fe2a467ed (patch) | |
tree | 6f7b08d25d4ca71d14ac2447e732fcd4b068b76f /Python/ceval.c | |
parent | 83ca46b7784b7357d82ec47b33295e09ed7380cb (diff) | |
download | cpython-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