From: Georg Brandl Date: Thu, 4 Dec 2008 18:18:16 +0000 (+0000) Subject: #4527: fix "unicode or string". X-Git-Tag: v3.1a1~771 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b159008a54a2daf1ca18d1c391221e8a7150688e;p=python #4527: fix "unicode or string". --- diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index b5a7239653..0861e681d1 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]