code: def scan(self, module, onerror=None, ignore=None):
          
          from venusian import Scanner
          scanner = Scanner(registry=self)
          kwargs = {"onerror": onerror, "categories": ["method"]}
          if ignore is not None:
              # Only pass it if specified, for backward compatibility
              kwargs["ignore"] = ignore
          scanner.scan(module, **kwargs)
docs: Scan the given module object for L{Method}s and register them.