2012/6/14 Ethan Furman <et...@stoneleaf.us>:
> This is no different from what we have with strings now:
>
> --> 'aA'.islower()
> False
> --> 'aA'.isupper()
> False
> --> 'a'.islower()
> True
> --> 'A'.isupper()
> True
>
> We know that a string cannot be both all-upper and all-lower at the same
> time; likewise we know a variable cannot be both positional and kwargs.

This is much less clear cut as there's no clause in the Unicode
standard saying (!islower()  or !isupper()) must be true.


-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to