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

bpo-39237: Remove redundant call to round from delta_new #17877

Merged
merged 1 commit into from
Jan 8, 2020

Conversation

alexhenrie
Copy link
Contributor

@alexhenrie alexhenrie commented Jan 6, 2020

@@ -2489,7 +2489,6 @@ delta_new(PyTypeObject *type, PyObject *args, PyObject *kw)
int x_is_odd;
PyObject *temp;

whole_us = round(leftover_us);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

@vstinner vstinner merged commit 998c549 into python:master Jan 8, 2020
@alexhenrie alexhenrie deleted the datetime branch January 10, 2020 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants