astropy:docs

Note

This is an old version of the documentation. See http://docs.astropy.org/en/stable for the latest version.

IllegalMinuteError

exception astropy.coordinates.IllegalMinuteError(minute)[source] [edit on github]

Raised when an minute value is not in the range [0,60].

Parameters:minute : int, float

Examples

if not 0 <= min < 60:
    raise IllegalMinuteError(minute)

Page Contents