class_docstr: Abstract bounding region class, for any portion of a 2D plane.
  
  Only subclasses can be instantiated directly.
class_docstr_tok: ["Abstract","bounding","region","class",",","for","any","portion","of","a","2D","plane",".","Only","subclasses","can","be","instantiated","directly","."]
code: def __getstate__(self):
      # BoundingRegions have slots, not a dict, so we have to
      # support pickle and deepcopy ourselves.
      state = {}
      for slot in get_occupied_slots(self):
          state[slot] = getattr(self, slot)
      return state
  
imports: from param.parameterized import get_occupied_slots
  from .util import datetime_types
label_desc: Use image node_id 9 for calling the BoundingRegion obj's underlying member method code with example usage: obj.__getstate__() and returns: state