Use 'S' format character for the optional constructor argument, so we
get a decent error message when it's not a string (instead of confusing errors when trying to use the thing).
Showing
Please
register
or
sign in
to comment
get a decent error message when it's not a string (instead of confusing errors when trying to use the thing).