async documentation
authorKenneth Reitz <me@kennethreitz.com>
Sat, 1 Oct 2011 08:52:13 +0000 (04:52 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 1 Oct 2011 08:52:28 +0000 (04:52 -0400)
requests/async.py

index cfd19644799786f2bc25e1d32a0206ca51b13c42..9517064d3d18155bbed0ec7f6db85ecb1a1a9c25 100644 (file)
@@ -24,11 +24,11 @@ from .packages.urllib3.poolmanager import PoolManager
 
 
 __all__ = (
-    'map', 'get', 'head', 'post', 'put', 'patch', 'delete', 'request'
+    'map',
+    'get', 'head', 'post', 'put', 'patch', 'delete', 'request'
 )
 
 
-
 def _patched(f):
     """Patches a given API function to not send."""
 
@@ -69,6 +69,7 @@ def map(requests, keep_alive=False):
     """Concurrently converts a list of Requests to Responses.
 
     :param requests: a collection of Request objects.
+    :param keep_alive: If True, HTTP Keep-Alive will be used.
     """
 
     if keep_alive: