syntactic sugar for def?

Ethan Furman ethan at stoneleaf.us
Wed Sep 28 23:26:09 CEST 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