Stavros Korokithakis added the comment: What this syntax does is similar to the nested context manager in case 12 of PEP343, but with cleaner syntax. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1435> __________________________________