def functions ( self ) : return [ v for v in self . globals . values ( ) if isinstance ( v , values . Function ) ]
how to see all python functions
A list of functions declared or defined in this module .
def functions(self):
        """
        A list of functions declared or defined in this module.
        """
        return [v for v in self.globals.values()
                if isinstance(v, values.Function)]