what is meaning of "@" in pyhon program.

cokofreedom at gmail.com cokofreedom at gmail.com
Mon Jun 30 06:08:25 EDT 2008


On Jun 28, 8:41 pm, Thierry <tsch... at gmail.com> wrote:
> > ie:
> > @if os.exists(foo):
> >    etc
> >    etc
>
> > and
>
> > @for blah:
> >    etc
> >    etc
>
> This sounds more like PHP code, where a @ prefixing a function means
> that even if there are errors or warnings, you don't want to see them.

Could also by Doxygen, doesn't it use something similar to show
keywords in documents?



More information about the Python-list mailing list