MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / __enter__

Method __enter__

markdown/test_tools.py:112–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 self.old_limit = sys.getrecursionlimit()
111
112 def __enter__(self):
113 sys.setrecursionlimit(self.limit)
114
115 def __exit__(self, type, value, tb):
116 sys.setrecursionlimit(self.old_limit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected