mirror of
https://github.com/python/cpython.git
synced 2026-06-29 06:10:11 -04:00
f7eae0adfc
Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.