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):
512
512
return a ._numerator // a ._denominator
513
513
514
514
def __floor__ (a ):
515
- """Will be math.floor(a) in 3.0. """
515
+ """math.floor(a)"""
516
516
return a .numerator // a .denominator
517
517
518
518
def __ceil__ (a ):
519
- """Will be math.ceil(a) in 3.0. """
519
+ """math.ceil(a)"""
520
520
# The negations cleverly convince floordiv to return the ceiling.
521
521
return - (- a .numerator // a .denominator )
522
522
523
523
def __round__ (self , ndigits = None ):
524
- """Will be round(self, ndigits) in 3.0.
524
+ """round(self, ndigits)
525
525
526
526
Rounds half toward even.
527
527
"""
Original file line number Diff line number Diff line change @@ -1099,6 +1099,7 @@ Tim Mitchell
1099
1099
Zubin Mithra
1100
1100
Florian Mladitsch
1101
1101
Doug Moen
1102
+ Jakub Molinski
1102
1103
Juliette Monsel
1103
1104
The Dragon De Monsyne
1104
1105
Bastien 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