Show More
@@ -155,8 +155,7 class _PrettyPrinterBase(object): | |||||
155 | """like begin_group / end_group but for the with statement.""" |
|
155 | """like begin_group / end_group but for the with statement.""" | |
156 | self.begin_group(indent, open) |
|
156 | self.begin_group(indent, open) | |
157 | try: |
|
157 | try: | |
158 | with self.indent(indent): |
|
158 | yield | |
159 | yield |
|
|||
160 | finally: |
|
159 | finally: | |
161 | self.end_group(indent, close) |
|
160 | self.end_group(indent, close) | |
162 |
|
161 |
General Comments 0
You need to be logged in to leave comments.
Login now