[Python-Dev] PEP 460 reboot (original) (raw)
Ethan Furman ethan at stoneleaf.us
Mon Jan 13 03:24:37 CET 2014
- Previous message: [Python-Dev] PEP 460 reboot
- Next message: [Python-Dev] PEP 460 reboot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 460 reboot
- Next message: [Python-Dev] PEP 460 reboot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]