Hello people,
I was thinking of a "def" statement in Python.
Its really weird that it can define only method, since it means "define".

It shouldn't be hard to detect if this is a variable or a method, because 
method needs "()" to have arguments(even if there are zero of them), 
and defining variable value supposed to have "=" as the definition mark.

Hope it would be added someday
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/P7V5SIWR3VGKJZ6KCN2PI5VZ4JNZKYSB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to