Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jul 17, 2024
1 parent 9bb70f2 commit e38d8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/decimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@ Decimal objects

.. classmethod:: from_number(number)

Alternative constructor that only accepts numbers (instances of
:class:`float`, :class:`int` or :class:`Decimal`), but not strings
Alternative constructor that only accepts instances of
:class:`float`, :class:`int` or :class:`Decimal`, but not strings
or tuples.

.. doctest::
Expand Down

0 comments on commit e38d8f9

Please sign in to comment.