From 6acce57271efce8c17cea2f1eece943f429e3879 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 18 Dec 2012 05:01:32 -0500 Subject: [PATCH] no kwargs --- requests/sessions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests/sessions.py b/requests/sessions.py index 9aa8c13..0d1441b 100644 --- a/requests/sessions.py +++ b/requests/sessions.py @@ -379,7 +379,7 @@ class Session(SessionRedirectMixin): setattr(self, attr, value) -def session(**kwargs): +def session(): """Returns a :class:`Session` for context-management.""" - return Session(**kwargs) + return Session() -- 2.7.4