syntactic sugar for def?

Ethan Furman ethan at
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!


More information about the Python-list mailing list