A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-June/120250.html below:

[Python-Dev] PEP 362 Third Revision

[Python-Dev] PEP 362 Third Revision [Python-Dev] PEP 362 Third RevisionBenjamin Peterson benjamin at python.org
Thu Jun 14 22:19:19 CEST 2012
2012/6/14 Ethan Furman <ethan at 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4