Dave Hirschfeld <dave.hirschfeld <at> gmail.com> writes:
> The example below demonstrates the fact that the datetime64
> constructor ignores the dtype argument if passed in. Is this
> conscious design decision or a bug/oversight?

Bug. There's probably no dtype argument, but the constructor
just ignores all arguments:

>>> np.datetime64('2012', spam='parrot')
2012-01-01 00:00:00


_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to