Skip to content

Commit fff31e6

Browse files
Explicitly mention Decimal and Fraction.
1 parent fa9847b commit fff31e6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ Other language changes
279279
and ends with a forward slash (``/``).
280280
(Contributed by Serhiy Storchaka in :gh:`134716`.)
281281

282-
* Functions that take timestamp or timeout arguments now accept any
283-
real numbers, not only integers or floats, although this does not
284-
improve precision.
282+
* Functions that take timestamp or timeout arguments now accept any real
283+
numbers (such as :class:`~decimal.Decimal` and :class:`~fractions.Fraction`),
284+
not only integers or floats, although this does not improve precision.
285285
(Contributed by Serhiy Storchaka in :gh:`67795`.)
286286

287287

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Functions that take timestamp or timeout arguments now accept any real
2-
numbers, not only integers or floats, although this does not improve
3-
precision.
2+
numbers (such as :class:`~decimal.Decimal` and :class:`~fractions.Fraction`),
3+
not only integers or floats, although this does not improve precision.

0 commit comments

Comments
 (0)