mirror of
https://github.com/python/cpython.git
synced 2026-07-26 20:03:16 -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.