parameters: (self)
return_statement: return module_name == self.modname
docstring: Overrides base to show template objects given the correct module.
docstring_summary: Overrides base to show template objects given the correct module.
docstring_tokens: Overrides base to show template objects given the correct module .
function: def check_module(self):
          """Overrides base to show template objects given the correct module."""
          if self.options.imported_members:
              return True
          scope = self.object._scope
          if isinstance(scope, type):
              module_name = scope.__module__
          else:
              module_name = scope.__name__
          return module_name == self.modname
function_tokens: def check_module ( self ) : if self . options . imported_members : return True scope = self . object . _scope if isinstance ( scope , type ) : module_name = scope . __module__ else : module_name = scope . __name__ return module_name == self . modname