check_is_not_None#

pybrops.core.error.error_value_python.check_is_not_None(v, vname)[source]#

Check if an object is not None. Raise error if object is None.

Parameters:
  • v (object) – Any Python object

  • vname (str) – Name of the Python object for use in the error message.

Return type:

None