def reset_regions(self): """ Reset the list of regions associated with the domain. """ self.regions = OneTypeList(Region) self._region_stack = [] self._bnf = create_bnf(self._region_stack)
def reset_regions(self): """ Reset the list of regions associated with the domain. """ self.regions = OneTypeList(Region) self._region_stack = [] self._bnf = create_bnf(self._region_stack)