code: def splint(a, b, tck, full_output=0):
      # see the docstring of `_fitpack_py/splint`
      t, c, k = tck
      try:
          c[0][0]
          parametric = True
      except Exception:
          parametric = False
      if parametric:
          return list(
              map(
                  lambda c, a=a, b=b, t=t, k=k: splint(a, b, [t, c, k]),
                  c,
              )
          )
      else:
          aint, wrk = dfitpack.splint(t, c, k, a, b)
          if full_output:
              return aint, wrk
          else:
              return aint
  
file_path: scipy/scipy/interpolate/_fitpack_impl.py
imports: import warnings
  import numpy
  from .None import _fitpack
  from numpy import atleast_1d, array, ones, zeros, sqrt, ravel, transpose, empty, iinfo, asarray
  from .None import dfitpack
label_desc: Use image node_id 5 for calling a global function with example usage: splint(a, b, tck, full_output) and returns: list, aint,  wrk, aint