Kaydet (Commit) c1bb12a5 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Fix markup.

üst dd62b4d0
......@@ -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))
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