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

Method __init__

markdown/test_tools.py:108–110  ·  view source on GitHub ↗
(self, limit)

Source from the content-addressed store, hash-verified

106 """
107
108 def __init__(self, limit):
109 self.limit = util._get_stack_depth() + limit
110 self.old_limit = sys.getrecursionlimit()
111
112 def __enter__(self):
113 sys.setrecursionlimit(self.limit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected