The Python documentation specifies that is is legal to omit the parentheses if a function only takes a single parameter, but
myfunction "Hello!"
generates a syntax error. So, what's the deal?
(I'm using Python 3.1)
EDIT:
The statement that I read only applies to generator expressions:
The parentheses can be omitted on calls with only one argument.