no string.downer() ?

Timothy Grant timothy.grant at gmail.com
Wed Aug 27 21:18:23 EDT 2008


On Wed, Aug 27, 2008 at 5:28 PM, John Machin <sjmachin at lexicon.net> wrote:
> On Aug 28, 9:53 am, Terry Reedy <tjre... at udel.edu> wrote:
>> ssecorp wrote:
>> > if i want to make a string downcase, is upper().swapcase() the onyl
>> > choice? there is no downer() ?
>>
>> If you are not being a troll, there are two easy ways to answer such a
>> question.
>>
>
> [snip]
>
> Reading the manual backwards as the OP seems to have done ("upper",
> "swapcase", ...) one finds:
>
> """
> swapcase( )
>
> Return a copy of the string with uppercase characters converted to
> lowercase and vice versa.
> """
>
> 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.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

I was going to go with not particularly strong in English. To someone
not familiar with English, downer() could very well be the obvious
converse of upper().

I'm usually quick to think "troll" but this time I didn't. Maybe I'm just naive.

-- 
Stand Fast,
tjg. [Timothy Grant]



More information about the Python-list mailing list