(self)
return self.__locals
Return a tuple of locals in the function.
Return a tuple of locals in the function.
Return a tuple of locals in the function .
def get_locals(self):
        """Return a tuple of locals in the function.
        """
        if self.__locals is None:
            locs = (LOCAL, CELL)
            test = lambda x: ((x >> SCOPE_OFF) & SCOPE_MASK) in locs
            self.__locals = self.__idents_matching(test)
        return self.__locals
def get_locals ( self ) : if self . __locals is None : locs = ( LOCAL , CELL ) test = lambda x : ( ( x >> SCOPE_OFF ) & SCOPE_MASK ) in locs self . __locals = self . __idents_matching ( test ) return self . __locals