class documentation

class recursionlimit: (source)

View In Hierarchy

A context manager which temporarily modifies the Python recursion limit. The testing framework, coverage, etc. may add an arbitrary number of levels to the depth. To maintain consistency in the tests, the current stack depth is determined when called, then added to the provided limit. Example usage: with recursionlimit(20): # test code here See https://stackoverflow.com/a/50120316/866026

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Instance Variable limit Undocumented
Instance Variable old_limit Undocumented
def __enter__(self): (source)

Undocumented

def __exit__(self, type, value, tb): (source)

Undocumented

def __init__(self, limit): (source)

Undocumented

limit = (source)

Undocumented

old_limit = (source)

Undocumented