gh-129173: simplify `PyCodec_XMLCharRefReplaceErrors` logic (#129894)
Writing the decimal representation of a Unicode codepoint only requires to know the number of digits. --------- Co-authored-by: Petr Viktorin <encukou@gmail.com>
B
Bénédikt Tran committed
f693f8422700f889f90ab548ceeb24704a2ae952
Parent: efbc592
Committed by GitHub <noreply@github.com>
on 3/3/2025, 11:43:22 AM