On 01/12/2014 06:16 PM, Ethan Furman wrote:

If you do :

--> b'%s' % 'some text'

Ignore what I previously said.  With no encoding the result would be:

b"'some text'"

So an encoding should definitely be specified.

--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to