Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timedelta64 should be a subtype of signedinteger #148

Open
jorenham opened this issue Feb 19, 2025 · 0 comments
Open

timedelta64 should be a subtype of signedinteger #148

jorenham opened this issue Feb 19, 2025 · 0 comments

Comments

@jorenham
Copy link
Member

>>> import numpy as np
>>> issubclass(np.timedelta64, np.signedinteger)
True

But this isn't reflected in stubs.

LSP-wise, it's rather sketchy, but it has to be done either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant