Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Josverl
Copy link
Contributor

@Josverl Josverl commented Nov 6, 2025

Summary

Documents difference with CPython and a document workaround provided by @anitschke.

OrderedDict.popitem() does not support the last=False argument and will always remove and return the last item if present.

closes #18370

Testing

Tested locally using sphinx-autobuild ./docs ./docs/build/html

Trade-offs and Alternatives

@dpgeorge dpgeorge added the docs label Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OrderedDict.popitem does not support "last" keyword argument

2 participants