funcs without () like print

Georg Brandl g.brandl-nospam at gmx.net
Thu Dec 7 11:54:26 EST 2006


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.

Georg



More information about the Python-list mailing list