PyUnicode_AsUnicodeCopy

Create a copy of a unicode string ending with a nul character. Return NULL and raise a MemoryError exception on memory allocation failure, otherwise return a new allocated buffer (use PyMem_Free() to free the buffer). */ /// Availability: >= 3.

version(Python_3_2_Or_Later)
PyUnicode_AsUnicodeCopy

Meta