alternatives to making blocks like { } or other ??

Chad Thompson chad at sabinasp.com
Tue May 18 21:46:02 EDT 2004


"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





More information about the Python-list mailing list