code: def _add_arglines(arglines, param, typ, doc):
      default = (
          param.default if param.default != Parameter.empty else None
      )
  
      # add a line for the arg
      arglines.append(
          f"    {param.name} ({typ}{', optional' if default else ''}):"
      )
  
      # add the docs for the argument
      if doc:
          arglines += [
              f"    {x}" for x in doc.rstrip().strip("\n").split("\n")
          ]
  
      # if there is a default, add it last
      if arglines and default is not None:
          arglines[-1] += f" (default: {default!r})"
  
      # blank line between args
      arglines.append("")
  
file_path: bokeh/src/bokeh/plotting/_docstring.py
imports: from __future__ import annotations
  import logging
  from inspect import Parameter
  from ..models import Marker
label_desc: Use image node_id 2 for calling a global function with example usage: _add_arglines(arglines, param, typ, doc) without return types