Skip to content

gh-92417: fractions, decimal: Improve docs for alternative constructor methods #92421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 19, 2022
4 changes: 2 additions & 2 deletions Doc/library/fractions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ another rational number, or from a string.

.. note::

From Python 3.2 onwards, you can also construct a
You can also construct a
:class:`Fraction` instance directly from a :class:`float`.


Expand All @@ -133,7 +133,7 @@ another rational number, or from a string.

.. note::

From Python 3.2 onwards, you can also construct a
You can also construct a
:class:`Fraction` instance directly from a :class:`decimal.Decimal`
instance.

Expand Down