alternatives to making blocks like { } or other ??

Christopher Koppler klapotec at chello.at
Wed May 19 00:15:04 EDT 2004


On Wed, 19 May 2004 01:46:02 GMT, "Chad Thompson" <chad at sabinasp.com>
wrote:

>
>"CYBER" <usenet at zly_adres.com> wrote in message
>news:c8do0u$9fb$1 at news.atman.pl...
>> Hello
>>
>> Is there any other way under python to create blocks ??
>>
>> instead of
>>
>> def sth(x):
>> return x
>>
>>
>>
>> could i use something else like
>>
>> def sth(x):
>> {
>> return x
>> }
>>
>>
>> ???
>
>http://www.python.org/doc/Humor.html#parsing
>

Ah yes, that was the link, I'd completely forgotten about the Python
humour page!

Oh, and CYBER: my post was *meant* ironic, but Python is flexible
enough that it can be taken at face value - so glad to have been of
help ;-)

--
Christopher



More information about the Python-list mailing list