diff options
| author | Sam Gross <colesbury@gmail.com> | 2024-02-06 16:36:23 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 16:36:23 (GMT) |
| commit | de61d4bd4db868ce49a729a283763b94f2fda961 (patch) | |
| tree | 00f712e2df606a604cf86d1ce4d384db4d2f1478 /Python/gc_free_threading.c | |
| parent | 0e2ab73dc31e0b8ea1827ec24bae93ae2644c617 (diff) | |
| download | cpython-de61d4bd4db868ce49a729a283763b94f2fda961.zip cpython-de61d4bd4db868ce49a729a283763b94f2fda961.tar.gz cpython-de61d4bd4db868ce49a729a283763b94f2fda961.tar.bz2 | |
gh-112066: Add `PyDict_SetDefaultRef` function. (#112123)
The `PyDict_SetDefaultRef` function is similar to `PyDict_SetDefault`,
but returns a strong reference through the optional `**result` pointer
instead of a borrowed reference.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Python/gc_free_threading.c')
0 files changed, 0 insertions, 0 deletions
