]> granicus.if.org Git - python/commitdiff
Fix error in a docstring where a single quote started the docstring but triple
authorBrett Cannon <bcannon@gmail.com>
Sat, 30 Apr 2005 05:50:19 +0000 (05:50 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 30 Apr 2005 05:50:19 +0000 (05:50 +0000)
quote ended it.

Closes bug #1192777.  Thanks Christopher Smith.

Lib/test/test_binop.py

index 1a4228928b1d3bd00005cc2cd1f78dc5705f8ec8..b3d9a625ffe92beb77b61c6f61de7751fd38bb84 100644 (file)
@@ -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):