code: def pxd_decl(name, ret_type, args):
      args = args.replace("lambda", "lambda_").replace("*in,", "*in_,")
      return pxd_template.format(
          name=name, ret_type=ret_type, args=args
      )
  
imports: from collections import defaultdict
  from operator import itemgetter
  import os
label_desc: Use image node_id 9 for calling a global function with example usage: pxd_decl(name, ret_type, args) and returns: pxd_template