gh-89653: PEP 670: Convert PyUnicode_KIND() macro to function (#92705)
In the limited C API version 3.12, PyUnicode_KIND() is now implemented as a static inline function. Keep the macro for the regular C API and for the limited C API version 3.11 and older to prevent introducing new compiler warnings. Update _decimal.c and stringlib/eq.h for PyUnicode_KIND().
V
Victor Stinner committed
db388df1d9aff02f791fe01c7c2b28d73982dce6
Parent: d81d57e
Committed by GitHub <noreply@github.com>
on 5/13/2022, 9:49:56 AM