Fix error in a docstring where a single quote started the docstring but triple
quote ended it. Closes bug #1192777. Thanks Christopher Smith.
This commit is contained in:
parent
ebbffd42f3
commit
53e9a8b9f3
|
@ -178,7 +178,7 @@ class Rat(object):
|
|||
return (x, self - other * x)
|
||||
|
||||
def __rdivmod__(self, other):
|
||||
"Divide two Rats, returning quotient and remainder (reversed args)."""
|
||||
"""Divide two Rats, returning quotient and remainder (reversed args)."""
|
||||
if isint(other):
|
||||
other = Rat(other)
|
||||
elif not isRat(other):
|
||||
|
|
Loading…
Reference in New Issue