def classes_and_not_datetimelike(*klasses):
return lambda tipo: (issubclass(tipo, klasses) and<EOL>not issubclass(tipo, (np.datetime64, np.timedelta64)))<EOL>
evaluate if the tipo is a subclass of the klasses
and not a datetimelike