mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue