code: def fpy_interface(fpy, static, interface, typedict):
      
      modprocs = []
      subtext = []
      for dtype, combos in list(typedict.items()):
          for tcombo in combos:
              kind, suffix = tcombo
              xnames, sub = fpy_interface_sub(fpy, dtype, kind, suffix)
              modprocs.extend(xnames)
              subtext.append(sub)
          subtext.append("\n")
  
      #Next, chunk the names of the module procedures into blocks of five
      #so that they display nicely for human readability.
      from fortpy.printing.formatting import present_params
      splice = static.replace(interface, present_params(modprocs, 21))
      return splice.replace(interface.replace("py", "xpy"), ''.join(subtext))
docs: Splices the full list of subroutines and the module procedure list
      into the static.f90 file.
  
      :arg static: the string contents of the static.f90 file.
      :arg interface: the name of the interface *field* being replaced.
      :arg typedict: the dictionary of dtypes and their kind and suffix combos.