News for hackers. Stuff that matters.
Re:Python quirks by bskap on Friday July 12, 2013 @02:04PM (#6034030)
"def" in Python is an executable statement, not a declaration- it creates a function object that gets bound to the specified name in the local namespace. The defaults are evaluated when the function is created.

There are no comments on this comment yet.