Skip to content

bpo-31415: Cleanup pytime.c#3955

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:pytime_cleanup
Oct 11, 2017
Merged

bpo-31415: Cleanup pytime.c#3955
vstinner merged 1 commit intopython:masterfrom
vstinner:pytime_cleanup

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Oct 11, 2017

  • Move _PyTime_overflow() at the top
  • Move assertion on numerator into _PyTime_ObjectToDenominator()
  • PEP 7: add { ... } to if blocks

https://bugs.python.org/issue31415

* Move _PyTime_overflow() at the top
* Move assertion on numerator into _PyTime_ObjectToDenominator()
* PEP 7: add { ... } to if blocks
@vstinner vstinner merged commit 277c840 into python:master Oct 11, 2017
@vstinner vstinner deleted the pytime_cleanup branch October 11, 2017 15:11
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.

3 participants