Visit a list of nodes as block in a frame. If the current frame is no buffer a dummy ``if 0: yield None`` is written automatically.
(self, nodes, frame)
| 369 | self.end_write(frame) |
| 370 | |
| 371 | def blockvisit(self, nodes, frame): |
| 372 | """Visit a list of nodes as block in a frame. If the current frame |
| 373 | is no buffer a dummy ``if 0: yield None`` is written automatically. |
| 374 | """ |
| 375 | try: |
| 376 | self.writeline('pass') |
| 377 | for node in nodes: |
| 378 | self.visit(node, frame) |
| 379 | except CompilerExit: |
| 380 | pass |
| 381 | |
| 382 | def write(self, x): |
| 383 | """Write a string into the output stream.""" |
no test coverage detected