Re:Code blocks in Python
by Peaker on Tuesday April 24, 2012 @10:43AM
(#3884138)
Hypothetical Python:
[ Parent
| on HN ]
That's not what codeblocks does, though. You use a with statement and a new operator (<<). Then use indentation for the blocks. It doesn't look like you're passing a block to a function. The result is quirky code that will be hard to trace and sort out if you don't already know what's happening.