mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Docstring nit
This commit is contained in:
parent
cfb41c4985
commit
63c77b6175
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class Rational(RationalAbc):
|
|||
def __new__(cls, numerator=0, denominator=1):
|
||||
"""Constructs a Rational.
|
||||
|
||||
Takes a string like '3/2' or '3.2', another Rational, or a
|
||||
Takes a string like '3/2' or '1.5', another Rational, or a
|
||||
numerator/denominator pair.
|
||||
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue