| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
The documentation guarantees that denominator is in lowest term. It doesn't make any explicit guarantee about being positive, but as_integer_ratio does and just returns the denominator. But do let me know if I should change to abs(self._denominator) == 1 or self._numerator % self._denominator == 0! |
Sorry, something went wrong.
There was a problem hiding this comment.
(But let's wait for Mark to also give feedback.)
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM; one reST markup nitpick.
Sorry, something went wrong.
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.