Commit b159008a authored by Georg Brandl's avatar Georg Brandl

#4527: fix "unicode or string".

parent 9baee31a
...@@ -25,7 +25,7 @@ another rational number, or from a string. ...@@ -25,7 +25,7 @@ another rational number, or from a string.
:exc:`ZeroDivisionError`. The second version requires that :exc:`ZeroDivisionError`. The second version requires that
*other_fraction* is an instance of :class:`numbers.Rational` and *other_fraction* is an instance of :class:`numbers.Rational` and
returns an :class:`Fraction` instance with the same value. The returns an :class:`Fraction` instance with the same value. The
last version of the constructor expects a string or unicode last version of the constructor expects a string
instance in one of two possible forms. The first form is:: instance in one of two possible forms. The first form is::
[sign] numerator ['/' denominator] [sign] numerator ['/' denominator]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment