syntactic sugar for def?

Ethan Furman ethan at stoneleaf.us
Wed Sep 28 17:26:09 EDT 2011


I remember that 'class' is sugar for type(....).

I don't remember if 'def' is sugar for something besides lambda.

Any clues for me?  Heck, I'll even be grateful for outright answers!

~Ethan~



More information about the Python-list mailing list