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>
S
Sam Gross committed
de61d4bd4db868ce49a729a283763b94f2fda961
Parent: 0e2ab73
Committed by GitHub <noreply@github.com>
on 2/6/2024, 4:36:23 PM