SIGN IN SIGN UP

gh-141510: Optimize frozendict(frozendict) (#145592)

Return the same object unmodified if it's exactly the frozendict
type.

Optimize also PyFrozenDict_New(frozendict).
V
Victor Stinner committed
0dfe649400a0b67318169ec813475f4949ad7b69
Parent: 1564e23
Committed by GitHub <noreply@github.com> on 3/9/2026, 2:47:02 PM