From: Brett Cannon Date: Sat, 30 Apr 2005 05:50:19 +0000 (+0000) Subject: Fix error in a docstring where a single quote started the docstring but triple X-Git-Tag: v2.5a0~1796 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53e9a8b9f3ce1514e2106c8a9eff713f84fc42c5;p=thirdparty%2FPython%2Fcpython.git Fix error in a docstring where a single quote started the docstring but triple quote ended it. Closes bug #1192777. Thanks Christopher Smith. --- diff --git a/Lib/test/test_binop.py b/Lib/test/test_binop.py index 1a4228928b1d..b3d9a625ffe9 100644 --- a/Lib/test/test_binop.py +++ b/Lib/test/test_binop.py @@ -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):