@@ -51,14 +51,14 @@ The numeric tower
51
51
:func: `round `, :func: `math.floor `, :func: `math.ceil `, :func: `divmod `, ``// ``,
52
52
``% ``, ``< ``, ``<= ``, ``> ``, and ``>= ``.
53
53
54
- Real also provides defaults for :func: `complex `, :attr: `Complex.real `,
55
- :attr: `Complex.imag `, and :meth: `Complex.conjugate `.
54
+ Real also provides defaults for :func: `complex `, :attr: `~ Complex.real `,
55
+ :attr: `~ Complex.imag `, and :meth: `~ Complex.conjugate `.
56
56
57
57
58
58
.. class :: Rational
59
59
60
60
Subtypes :class: `Real ` and adds
61
- :attr: `Rational.numerator ` and :attr: `Rational.denominator ` properties, which
61
+ :attr: `~ Rational.numerator ` and :attr: `~ Rational.denominator ` properties, which
62
62
should be in lowest terms. With these, it provides a default for
63
63
:func: `float `.
64
64
@@ -74,8 +74,8 @@ The numeric tower
74
74
.. class :: Integral
75
75
76
76
Subtypes :class: `Rational ` and adds a conversion to :class: `int `.
77
- Provides defaults for :func: `float `, :attr: `Rational.numerator `, and
78
- :attr: `Rational.denominator `, and bit-string operations: ``<< ``,
77
+ Provides defaults for :func: `float `, :attr: `~ Rational.numerator `, and
78
+ :attr: `~ Rational.denominator `, and bit-string operations: ``<< ``,
79
79
``>> ``, ``& ``, ``^ ``, ``| ``, ``~ ``.
80
80
81
81
@@ -171,7 +171,7 @@ Complex``. I'll consider ``a + b``:
171
171
knowledge of ``A ``, so it can handle those instances before
172
172
delegating to :class: `Complex `.
173
173
174
- If ``A<: Complex `` and ``B<: Real `` without sharing any other knowledge,
174
+ If ``A <: Complex `` and ``B <: Real `` without sharing any other knowledge,
175
175
then the appropriate shared operation is the one involving the built
176
176
in :class: `complex `, and both :meth: `__radd__ ` s land there, so ``a+b
177
177
== b+a ``.
0 commit comments