def get_local_scope(self, stack_depth):
    'Get local scope at given stack depth.\n\n        Parameters\n        ----------\n        stack_depth : int\n            Depth relative to calling frame\n        '
    return sys._getframe((stack_depth + 1)).f_locals
Get local scope at given stack depth.

Parameters
----------
stack_depth : int
    Depth relative to calling frame
def get_local_scope(self, stack_depth):
    'Get local scope at given stack depth.\n\n        Parameters\n        ----------\n        stack_depth : int\n            Depth relative to calling frame\n        '
    return sys._getframe((stack_depth + 1)).f_locals