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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b159008a54a2daf1ca18d1c391221e8a7150688e;p=thirdparty%2FPython%2Fcpython.git #4527: fix "unicode or string". --- diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst index b5a723965304..0861e681d110 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]