class_docstr: A setting that specifies an integer range where the minimum and maximum
  can be set to unbounded by the user.
  
  The maximum value can be relative to the far side in which case a negative
  number is returned for slicing.
class_docstr_tok: ["A","setting","that","specifies","an","integer","range","where","the","minimum","and","maximum","can","be","set","to","unbounded","by","the","user",".","The","maximum","value","can","be","relative","to","the","far","side","in","which","case","a","negative","number","is","returned","for","slicing","."]
docstr: Initialize an integer range
  text  - helpful text to be displayed to the user
  value - initial default value, a two-tuple as minimum and maximum
  minval - the minimum acceptable value of either
  maxval - the maximum acceptable value of either
docstr_tok: ["Initialize","an","integer","range","text","-","helpful","text","to","be","displayed","to","the","user","value","-","initial","default","value",",","a","two-tuple","as","minimum","and","maximum","minval","-","the","minimum","acceptable","value","of","either","maxval","-","the","maximum","acceptable","value","of","either"]
code: def __init__(
      self,
      text,
      value=(0, "end"),
      minval=None,
      maxval=None,
      *args,
      **kwargs,
  ):
      """Initialize an integer range
      text  - helpful text to be displayed to the user
      value - initial default value, a two-tuple as minimum and maximum
      minval - the minimum acceptable value of either
      maxval - the maximum acceptable value of either
      """
      Range.__init__(
          self,
          text,
          "%s,%s" % (str(value[0]), str(value[1])),
          *args,
          **kwargs,
      )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/range/integer_range/_integer_or_unbounded_range.py
imports: from ._integer_range import IntegerRange
  from .._range import Range
  from ..._validation_error import ValidationError
label_desc: Use image node_id 1 to create a new IntegerOrUnboundedRange object from inherited base classes: IntegerRange with example: obj = IntegerOrUnboundedRange(text, value, minval, maxval)