smart_str(s, encoding='utf-8', strings_only=False, errors='strict')
Alias of smart_bytes()
on Python 2 and smart_text()
on Python 3. This function returns a str
or a lazy string.
For instance, this is suitable for writing to sys.stdout
on Python 2 and 3.
Please login to continue.