File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
NEWS.d/next/Documentation Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -512,16 +512,16 @@ def __trunc__(a):
512512 return a ._numerator // a ._denominator
513513
514514 def __floor__ (a ):
515- """Will be math.floor(a) in 3.0. """
515+ """math.floor(a)"""
516516 return a .numerator // a .denominator
517517
518518 def __ceil__ (a ):
519- """Will be math.ceil(a) in 3.0. """
519+ """math.ceil(a)"""
520520 # The negations cleverly convince floordiv to return the ceiling.
521521 return - (- a .numerator // a .denominator )
522522
523523 def __round__ (self , ndigits = None ):
524- """Will be round(self, ndigits) in 3.0.
524+ """round(self, ndigits)
525525
526526 Rounds half toward even.
527527 """
Original file line number Diff line number Diff line change @@ -1099,6 +1099,7 @@ Tim Mitchell
10991099Zubin Mithra
11001100Florian Mladitsch
11011101Doug Moen
1102+ Jakub Molinski
11021103Juliette Monsel
11031104The Dragon De Monsyne
11041105Bastien Montagne
Original file line number Diff line number Diff line change 1+ Remove obsolete comments from docstrings in fractions.Fraction
You can’t perform that action at this time.
0 commit comments