diff options
author | Georg Brandl <georg@python.org> | 2008-12-04 18:18:16 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-04 18:18:16 (GMT) |
commit | b159008a54a2daf1ca18d1c391221e8a7150688e (patch) | |
tree | bffd8f69739befa85bc014a1589ba40196f12186 /Doc/library/fractions.rst | |
parent | 9baee31a44f0d67f3704479ddceda4e2679bff5b (diff) | |
download | cpython-b159008a54a2daf1ca18d1c391221e8a7150688e.zip cpython-b159008a54a2daf1ca18d1c391221e8a7150688e.tar.gz cpython-b159008a54a2daf1ca18d1c391221e8a7150688e.tar.bz2 |
#4527: fix "unicode or string".
Diffstat (limited to 'Doc/library/fractions.rst')
-rw-r--r-- | Doc/library/fractions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index b5a7239..0861e68 100644 --- a/Doc/library/fractions.rst +++ b/Doc/library/fractions.rst @@ -25,7 +25,7 @@ another rational number, or from a string. :exc:`ZeroDivisionError`. The second version requires that *other_fraction* is an instance of :class:`numbers.Rational` and 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:: [sign] numerator ['/' denominator] |