mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
#4527: fix "unicode or string".
This commit is contained in:
parent
9baee31a44
commit
b159008a54
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue