(self, template: Template, line: int)
| 752 | return Indenter() |
| 753 | |
| 754 | def include(self, template: Template, line: int) -> "ContextManager": |
| 755 | self.include_stack.append((self.current_template, line)) |
| 756 | self.current_template = template |
| 757 | |
| 758 | class IncludeTemplate(object): |
| 759 | def __enter__(_) -> "_CodeWriter": |
| 760 | return self |
| 761 | |
| 762 | def __exit__(_, *args: Any) -> None: |
| 763 | self.current_template = self.include_stack.pop()[0] |
| 764 | |
| 765 | return IncludeTemplate() |
| 766 | |
| 767 | def write_line( |
| 768 | self, line: str, line_number: int, indent: Optional[int] = None |
no test coverage detected