Skip to content

Commit c3f506a

Browse files
committed
Document Ratiomal.numerator/denominator, remove from Fraction docs
1 parent 478e414 commit c3f506a

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

Doc/library/fractions.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,6 @@ another rational number, or from a string.
119119
The :class:`Fraction` constructor now accepts any objects with the
120120
:meth:`!as_integer_ratio` method.
121121

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.
129-
130-
131122
.. method:: as_integer_ratio()
132123

133124
Return a tuple of two integers, whose ratio is equal

Doc/library/numbers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ The numeric tower
6969

7070
.. attribute:: numerator
7171

72-
Abstract.
72+
Abstract. The numerator of this rational number.
7373

7474
.. attribute:: denominator
7575

76-
Abstract.
76+
Abstract. The denominator of this rational number.
7777

7878

7979
.. class:: Integral

0 commit comments

Comments
 (0)