[Python-ideas] Make parenthesis optional in parameterless functions definitions
Mike Miller
python-ideas at mgmiller.net
Thu Mar 31 22:29:41 EDT 2016
Hmm,
The fact that the class definition doesn't require empty parentheses works
against a few of these arguments. I like Mahan's idea and don't find it
confusing, though I agree it isn't a big pain point either way.
-Mike
On 2016-03-31 17:43, Steven D'Aprano wrote:
>> >parenthesis if a function don't have parameters?
> Because the list of parameters is empty.
>
More information about the Python-ideas
mailing list