code: def tupleize(func):
      """A decorator that tuple-ize the result of a function. This is useful
      when the evaluation function returns a single value.
      """
  
      def wrapper(*args, **kargs):
          return (func(*args, **kargs),)
  
      return wrapper
  
file_path: deap/examples/bbob.py
imports: import array
  import math
  import random
  import time
  from itertools import chain
  from deap import base
  from deap import creator
  import fgeneric
  import bbobbenchmarks
label_desc: Use image node_id 2 for calling a global function with example usage: tupleize(func) and returns: wrapper, func