From 82d1b340dc631c8520c5de9a9f707d88dffd96db Mon Sep 17 00:00:00 2001 From: Daniel Miller Date: Thu, 22 Mar 2012 11:57:19 -0700 Subject: [PATCH] Suggesting changing "async.map(rs)" to "responses = async.map(rs)" just to show that it returns a list rather than mutating the original? Maybe this is apparent for most, but I was a bit confused =/ http://goo.gl/gE4up --- docs/user/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 7c14ba14..53762eb1 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -134,7 +134,7 @@ one at a time with ``Request.send()``, but that would take a while. Instead, we'll send them all at the same time with ``async.map()``. Using ``async.map()`` will also guarantee execution of the ``response`` hook, described below. :: - >>> async.map(rs) + >>> responses = async.map(rs) [, , , ] .. admonition:: Throttling