code: def get_docstring_split(f):
      """Given a function, break it up into portions
  
      Parameters
      ----------
      f : function
  
      Returns
      -------
  
      (initial doc string, params (as list of tuples), suffix string)
      """
  
      if not hasattr(f, "__doc__") or f.__doc__ in (None, ""):
          return None, None, None
      initdoc, params, suffix = _split_out_parameters(f.__doc__)
      params_list = _parse_parameters(params)
      return initdoc, params_list, suffix
  
file_path: datalad/datalad/dochelpers.py
imports: import logging
  import re
  import textwrap
  import os
  import sys
  import traceback
  from datalad.support.exceptions import CapturedException
label_desc: Use image node_id 8 for calling a global function with example usage: get_docstring_split(f) and returns: initdoc,  params_list,  suffix, None,  None,  None