Paul Moore wrote:
> Ugh. Alternatively, h[0] == ord('P') should work.
I'm wondering whether we want a "byte character literal"
to go along with "byte string literals":
h[0] == c"P"
After all, if it makes sense to write an array of bytes
as though they were ASCII characters, it must make sense
to write a single byte that way as well.
--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com