def __setitem__( self, key, value, _override = False ):
		if not _override and not self.has_key(key):
			if not self.has_key('__name__'):
				self.add( '__name__', '<undef>' )
			raise AttributeError, 'Cannot modify %s[\'%s\'] because the key is not defined. To add a new key, use %s.add(\'%s\', value).' % (self.__name__, key, self.__name__, key)
		dictItems = self._getItemsOrFalse(value)
		if dictItems is False:
			dict.__setitem__( self, key, value )
		else:
			dict.__setitem__( self, key, StrictDict(value, name = (self.__name__, key) % '%s[\'%s\']') )


	###################
	## Override iterators to ignore __name__
	###################
dataset/ETHPy150Open Pathoschild/stewbot/stewbot/components/StrictDict.py/StrictDict.__setitem__/swapped operands of `%`