zmodn.Zmodn.__getitem__(key)

Get an item or slice from the Zmodn object.

Parameters:
key

Index or slice to retrieve.

Returns:

A new Zmodn object containing the requested item(s).

Return type:

Zmodn