PyUnicode_FromUnicode

Create a Unicode Object from the Py_UNICODE buffer u of the given size.

u may be NULL which causes the contents to be undefined. It is the user's responsibility to fill in the needed data afterwards. Note that modifying the Unicode object contents after construction is only allowed if u was set to NULL.

The buffer is copied into the new object. */ /// Availability: >= 2.

Meta