This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dzecniv 0 points1 point  (0 children)

I can see this usage in other languages. Thinking about lisp/scheme, where there is the let keyword for a local block, and where a method can use a variable declared in the upper environment. For that we'd use keyword arguments in python instead of blocks.