def __init__(self, globals: dict, closure: dict):
        """
        :param locals: a dictionary made from outside closure.
        """
        self.locals = {}
        self.closure = closure
        self.globals = globals
def __init__ ( self , globals : dict , closure : dict ) : self . locals = { } self . closure = closure self . globals = globals
:param locals: a dictionary made from outside closure.