]> granicus.if.org Git - python/commitdiff
Fix markup.
authorRaymond Hettinger <python@rcn.com>
Mon, 25 Jan 2010 19:20:30 +0000 (19:20 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 25 Jan 2010 19:20:30 +0000 (19:20 +0000)
Doc/library/itertools.rst

index 250c84249e31cf962d6ec3afde1a5fec21dc3cb9..14a7afd77483325115619cbcc4381310df07c14e 100644 (file)
@@ -760,7 +760,7 @@ which incur interpreter overhead.
 
 Note, many of the above recipes can be optimized by replacing global lookups
 with local variables defined as default values.  For example, the
-*dotproduct* recipe can be written as:
+*dotproduct* recipe can be written as::
 
    def dotproduct(vec1, vec2, sum=sum, imap=imap, mul=operator.mul):
        return sum(imap(mul, vec1, vec2))