From 853383a8d3e58ba30c6682cd7ddc0f2d82f42b18 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 16 Aug 2011 22:16:22 -0400 Subject: [PATCH] docstring fix --- requests/sessions.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/requests/sessions.py b/requests/sessions.py index 9303a825..5f62a78f 100644 --- a/requests/sessions.py +++ b/requests/sessions.py @@ -28,9 +28,10 @@ class Session(object): return '' % (id(self)) def _map_api_methods(self): - """ Reads each available method from requests.api and decorates - them with a wrapper that inserts any instance-local attributes - (from __attrs__) that have been set, combining them with **kwargs """ + """Reads each available method from requests.api and decorates + them with a wrapper, which inserts any instance-local attributes + (from __attrs__) that have been set, combining them with **kwargs. + """ def pass_args(func): def wrapper_func(*args, **kwargs): inst_attrs = dict((k, v) for k, v in self.__dict__.iteritems()