code: def constant(image, value):
      """Fill a channel with a given grey level.
  
      :rtype: :py:class:`~PIL.Image.Image`
      """
  
      return Image.new("L", image.size, value)
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImageChops.py
imports: from .None import Image
label_desc: Use image node_id 1 for calling a global function with example usage: constant(image, value) and returns: Image