Skip to content

gh-112066: Add PyDict_SetDefaultRef function. - #112123

Merged
colesbury merged 5 commits into
python:mainfrom
colesbury:PyDict_SetDefaultRef
Feb 6, 2024
Merged

gh-112066: Add PyDict_SetDefaultRef function.#112123
colesbury merged 5 commits into
python:mainfrom
colesbury:PyDict_SetDefaultRef

Conversation

@colesbury

@colesbury colesbury commented Nov 15, 2023

Copy link
Copy Markdown
Contributor

The PyDict_SetDefaultRef function is similar to PyDict_SetDefault, but returns a strong reference through the optional **result pointer instead of a borrowed reference.


📚 Documentation preview 📚: https://cpython-previews--112123.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.13 bugs and security fixes topic-C-API topic-free-threading type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants