summaryrefslogtreecommitdiff
path: root/Doc/library/fractions.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2014-03-12 19:51:00 -0400
committerÉric Araujo <merwok@netwok.org>2014-03-12 19:51:00 -0400
commitfa5e6e4773ea959a7cc354d54c50df507cf005c3 (patch)
tree31b2a5ad1a614394e303e171233c55d94646317f /Doc/library/fractions.rst
parentd0fc83d5ebf860664ab2156549d3eb98a50212cd (diff)
downloadcpython-git-fa5e6e4773ea959a7cc354d54c50df507cf005c3.tar.gz
Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
Diffstat (limited to 'Doc/library/fractions.rst')
-rw-r--r--Doc/library/fractions.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index fba199bf78..c2c74013f0 100644
--- a/Doc/library/fractions.rst
+++ b/Doc/library/fractions.rst
@@ -99,7 +99,9 @@ another rational number, or from a string.
value of *flt*, which must be a :class:`float`. Beware that
``Fraction.from_float(0.3)`` is not the same value as ``Fraction(3, 10)``
- .. note:: From Python 3.2 onwards, you can also construct a
+ .. note::
+
+ From Python 3.2 onwards, you can also construct a
:class:`Fraction` instance directly from a :class:`float`.
@@ -108,7 +110,9 @@ another rational number, or from a string.
This class method constructs a :class:`Fraction` representing the exact
value of *dec*, which must be a :class:`decimal.Decimal` instance.
- .. note:: From Python 3.2 onwards, you can also construct a
+ .. note::
+
+ From Python 3.2 onwards, you can also construct a
:class:`Fraction` instance directly from a :class:`decimal.Decimal`
instance.