code: def linkcode_resolve(domain, info):
      """Determine the URL corresponding to a Python object.
  
      Parameters
      ----------
      domain : str
          Only useful when 'py'.
      info : dict
          With keys "module" and "fullname".
  
      Returns
      -------
      url : str
          The code URL.
  
      Notes
      -----
      This has been adapted to deal with our "verbose" decorator.
  
      Adapted from SciPy (doc/source/conf.py).
      """
      import mne
  
      if domain != "py":
          return None
  
      modname = info["module"]
      fullname = info["fullname"]
  
      submod = sys.modules.get(modname)
      if submod is None:
          return None
  
      obj = submod
      for part in fullname.split("."):
          try:
              obj = getattr(obj, part)
          except Exception:
              return None
      # deal with our decorators properly
      while hasattr(obj, "__wrapped__"):
          obj = obj.__wrapped__
  
      try:
          fn = inspect.getsourcefile(obj)
      except Exception:
          fn = None
      if not fn:
          try:
              fn = inspect.getsourcefile(sys.modules[obj.__module__])
          except Exception:
              fn = None
      if not fn:
          return None
      fn = op.relpath(fn, start=op.dirname(mne.__file__))
      fn = "/".join(op.normpath(fn).split(os.sep))  # in case on Windows
  
      try:
          source, lineno = inspect.getsourcelines(obj)
      except Exception:
          lineno = None
  
      if lineno:
          linespec = "#L%d-L%d" % (lineno, lineno + len(source) - 1)
      else:
          linespec = ""
  
      if "dev" in mne.__version__:
          kind = "main"
      else:
          kind = "maint/%s" % (".".join(mne.__version__.split(".")[:2]))
      return (
          "http://github.com/mne-tools/mne-python/blob/%s/mne/%s%s"
          % (
              kind,
              fn,
              linespec,
          )
      )
  
imports: import inspect
  import os
  import os.path
  import re
  import sys
  import webbrowser
  from copy import deepcopy
  from decorator import FunctionMaker
  from ..defaults import HEAD_SIZE_DEFAULT
  from ._bunch import BunchConst
label_desc: Use image node_id 6 for calling a global function with example usage: linkcode_resolve(domain, info) and returns: unknown, None, None, None, None