Abdur-Rahmaan Janhangeer wrote:
Greetings list.

Out of curiosity, why doesn't Python accept
def ():
     return '---'

()

Where the function name is ''?

For the same reason an empty sequence of characters cannot
be a variable name. Do you know any language (or formal
theory) that allows that?


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to