Since PyUnicode_AsString is a public API, don't just assert, but do
a regular check and return an error if not unicode.
1 file changed