Default parameters
Paul Rubin
http
Thu Dec 18 09:38:04 EST 2003
More information about the Python-list mailing list
Thu Dec 18 09:38:04 EST 2003
- Previous message (by thread): Default parameters
- Next message (by thread): Default parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Carl Banks <imbosol at aerojockey.invalid> writes: > It seems that most people who haven't thought about time of evaluation > tend to expect it to be evaluated when the function is called; I know > I would expect this. (I think I even made the mistake.) The principle of least astonishment then suggests that Python made a suboptical choice.
- Previous message (by thread): Default parameters
- Next message (by thread): Default parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list