def _check_minute_range(m):
 if np.any((m == 60.0)):
  warn(IllegalMinuteWarning(m, u'Treating as 0 min, +1 hr/deg'))
 elif (np.any((m < (-60.0))) or np.any((m > 60.0))):
  raise IllegalMinuteError(m)

def _check_minute_range ( m ) : if np . any ( ( m == 60.0 ) ) : warn ( IllegalMinuteWarning ( m , u'Treating as 0 min, +1 hr/deg' ) ) elif ( np . any ( ( m < ( - 60.0 ) ) ) or np . any ( ( m > 60.0 ) ) ) : raise IllegalMinuteError ( m )
checks that the given value is in the range [0 .