zmodn.Zmodn.__setitem__(key, value)

Set an item or slice in the Zmodn object.

Parameters:
key

Index or slice to set.

value : int

Value to set.

Raises:

TypeError – If the value is not an integer.