Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update documentation.
  • Loading branch information
serhiy-storchaka committed Jul 17, 2024
commit e38d8f9b8179600cf76993f4c3aaebe2166fe186
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