-
Notifications
You must be signed in to change notification settings - Fork 768
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
subtract of BDay results in days instead of pd.Timestamp #4631
Comments
Pylance is working correctly here. We include the latest _DatetimeT = TypeVar("_DatetimeT", bound=date)
# some lines removed for clarity
@overload
def __rsub__(self, other: _DatetimeT) -> _DatetimeT: ...
If you feel that the stubs are incorrect, please file an issue on |
@debonte: indeed, the stub seems to be incorrect. Thanks for pointing me to the right direction. |
Code Snippet
The text was updated successfully, but these errors were encountered: