Why does not Python accept functions with no names?
Abdur-Rahmaan Janhangeer
arj.python at gmail.com
Sun Feb 20 12:27:14 EST 2022
Thanks for the answers.
@Chris Well Python deliberately throws an exception if we do not
pass in a function name. Just wanted to know why it should. As the
above case is a 100% pure anonymous function.
Kind Regards,
Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius
More information about the Python-list
mailing list