STINNER Victor added the comment:

I suggested "must be in the range [0; 255]" which is not a valid Python
list: ";" is the instruction operator and there is "range" word in front of
the "list". In my opinion, it's much easier to read and understand it.

Another example is the Unicode range(0x110000). "range [0; 0x10ffff]" would
be better. Or maybe "must be in the range U+0000-U+10ffff" but it requires
to know the Unicode U+HHHH syntax and the input type may be int, not a
character.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to