no string.downer() ?

John Machin sjmachin at lexicon.net
Wed Aug 27 21:34:14 EDT 2008


On Aug 28, 11:25 am, Asun Friere <afri... at yahoo.co.uk> wrote:
> On Aug 28, 10:28 am, John Machin <sjmac... at lexicon.net> wrote:
>
> > Out of the possible diagnoses (trolling, incredible stupidity, feeble
> > joke attempt) of the cause of the ensuing upper/downer question, I'm
> > going with the third.
>
> Never ascribe to humour that which can be adequately explained by
> increadible stupidity!  On the other hand given up/down vs. high/low,
> upper/downer might appear logical to someone who doesn't know that
> "downcase" is called 'lowercase.'

He knows that s.upper().swapcase() does the job, without having read
the swapcase docs where it is screamingly obvious that lowercase is
the antonym of uppercase???



More information about the Python-list mailing list