funcs without () like print
Andre Meyer
meyer at acm.org
Thu Dec 7 11:16:22 EST 2006
print is supposed to become a function in Py3k, though.
On 12/7/06, Georg Brandl <g.brandl-nospam at gmx.net> wrote:
>
> iwl wrote:
> > Hello can I make funktions callable without () like print
> > at time the interpreter seems to printout the adres when I type the
> > function without ()
>
> print is not a function, it's a statement, and as such equivalent to
> raise or assert.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061207/bc21fff0/attachment.html>
More information about the Python-list
mailing list