mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -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.