[Python-Dev] Python 3.x and bytes (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Tue Jun 14 02:35:41 CEST 2011
- Previous message: [Python-Dev] Python 3.x and bytes
- Next message: [Python-Dev] Python 3.x and bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jun 14, 2011 at 9:40 AM, P.J. Eby <pje at telecommunity.com> wrote:
You can still do it one at a time:
CHAR, = b'C' INT, = b'I' ... etc. I just tried it with Python 3.1 and it works there.
I almost mentioned that, although it does violate one of the "unwritten rules of the Zen" (in this case, "syntax shall not look like grit on Tim's monitor")
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] Python 3.x and bytes
- Next message: [Python-Dev] Python 3.x and bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]