code: def linkcode_resolve(domain, info):
      """
      Determine the URL corresponding to Python object
      """
      import inspect
  
      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:
              with warnings.catch_warnings():
                  # Accessing deprecated objects will generate noisy warnings
                  warnings.simplefilter("ignore", FutureWarning)
                  obj = getattr(obj, part)
          except AttributeError:
              return None
  
      try:
          fn = inspect.getsourcefile(inspect.unwrap(obj))
      except TypeError:
          try:  # property
              fn = inspect.getsourcefile(inspect.unwrap(obj.fget))
          except AttributeError:
              fn = None
      if not fn:
          return None
  
      try:
          source, lineno = inspect.getsourcelines(obj)
      except TypeError:
          try:  # property
              source, lineno = inspect.getsourcelines(obj.fget)
          except AttributeError:
              lineno = None
      except OSError:
          lineno = None
  
      if lineno:
          linespec = f"#L{lineno}-L{lineno + len(source) - 1}"
      else:
          linespec = ""
  
      fn = os.path.relpath(
          fn, start=os.path.dirname(geopandas.__file__)
      )
  
      if "+" in geopandas.__version__:
          return f"https://github.com/geopandas/geopandas/blob/main/geopandas/{fn}{linespec}"
      else:
          return (
              f"https://github.com/geopandas/geopandas/blob/"
              f"v{geopandas.__version__}/geopandas/{fn}{linespec}"
          )
  
imports: import sys, os
  import warnings
  import geodatasets
  import geopandas
  import geopandas
label_desc: Use image node_id 2 for calling a global function with example usage: linkcode_resolve(domain, info) and returns: None, None, None, str, fn, linespec, str, geopandas, str, fn, linespec, None