Lines Matching defs:module
542 Path to the python module containing device-specific
566 flags. docstring is the calling module's docstring, to be displayed
735 module = None
739 module."""
744 if self.module is None:
756 self.module = imp.load_module("device_specific", *info)
758 print "unable to load device-specific module; assuming none"
761 """Call the named function in the device-specific module, passing
763 the DeviceSpecific object itself. If there is no module, or the
764 module does not define the function, return the value of the
766 if self.module is None or not hasattr(self.module, function_name):
768 return getattr(self.module, function_name)(*((self,) + args), **kwargs)