Kaydet (Commit) 53e9a8b9 authored tarafından Brett Cannon's avatar Brett Cannon

Fix error in a docstring where a single quote started the docstring but triple

quote ended it.

Closes bug #1192777.  Thanks Christopher Smith.
üst ebbffd42
...@@ -178,7 +178,7 @@ class Rat(object): ...@@ -178,7 +178,7 @@ class Rat(object):
return (x, self - other * x) return (x, self - other * x)
def __rdivmod__(self, other): 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): if isint(other):
other = Rat(other) other = Rat(other)
elif not isRat(other): elif not isRat(other):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment