code: def ps_level_to_string(level):
          
          c_string = cairo.cairo_ps_level_to_string(level)
          if c_string == ffi.NULL:
              raise ValueError(level)
          return ffi.string(c_string).decode('ascii')
docs: Return the string representation of the given :ref:`PS_LEVEL`.
          See :meth:`get_levels` for a way to get
          the list of valid level ids.