We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53e8c26 commit fb84af4Copy full SHA for fb84af4
Doc/library/fractions.rst
@@ -119,6 +119,15 @@ another number, or from a string.
119
The :class:`Fraction` constructor now accepts any objects with the
120
:meth:`!as_integer_ratio` method.
121
122
+ .. attribute:: numerator
123
+
124
+ Numerator of the Fraction in lowest term.
125
126
+ .. attribute:: denominator
127
128
+ Denominator of the Fraction in lowest term. Should be positive.
129
130
131
.. method:: as_integer_ratio()
132
133
Return a tuple of two integers, whose ratio is equal
0 commit comments