MCPcopy Create free account
hub / github.com/EasyIME/PIME / IncludeTemplate

Class IncludeTemplate

python/python3/tornado/template.py:758–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

includeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected