This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Carl.Friedrich.Bolz
Recipients Carl.Friedrich.Bolz
Date 2021-11-09.11:15:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Something I see beginners make occasionally when defining functions without arguments is this:

def f:

Right now it just gives an "invalid syntax", would be nice to get an "expected '('".

I will try to give this a go! Should be a matter of making the '(' token an expected one.
Date User Action Args
2021-11-09 11:15:43Carl.Friedrich.Bolzsetrecipients: + Carl.Friedrich.Bolz
2021-11-09 11:15:43Carl.Friedrich.Bolzsetmessageid: <>
2021-11-09 11:15:43Carl.Friedrich.Bolzlinkissue45764 messages
2021-11-09 11:15:43Carl.Friedrich.Bolzcreate