Replace it with PyUnicode_AsString when the argument is known to be a str.
Attach a file by drag & drop or click to upload