From 7875a12617ae38f3432779b29e0fdbc93febd408 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 1 Oct 2011 04:52:13 -0400 Subject: [PATCH] async documentation --- requests/async.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/requests/async.py b/requests/async.py index cfd1964..9517064 100644 --- a/requests/async.py +++ b/requests/async.py @@ -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: -- 2.34.1