mirror of
https://github.com/python/cpython.git
synced 2024-11-30 21:34:17 +08:00
d9b606b3d0
Replace PyUnicode_AsUTF8AndSize() with PyUnicode_AsUTF8() to remove the explicit check for embedded null characters. The change avoids to have to include explicitly <string.h> to get the strlen() function when using a recent version of the limited C API. |
||
---|---|---|
.. | ||
.ruff.toml | ||
clinic.py | ||
cpp.py | ||
mypy.ini |