code: def quad_factory(a=1, b=1, c=0):
      def dec(f):
          def func(*args, **kwds):
              fx = f(*args, **kwds)
              return a * fx**2 + b * fx + c
  
          return func
  
      return dec
  
file_path: dill/dill/tests/test_mixins.py
imports: import dill
label_desc: Use image node_id 4 for calling a global function with example usage: quad_factory(a, b, c) and returns: dec, func, unknown