projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60b72e
)
no kwargs
author
Kenneth Reitz
<me@kennethreitz.com>
Tue, 18 Dec 2012 10:01:32 +0000
(
05:01
-0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Tue, 18 Dec 2012 10:01:32 +0000
(
05:01
-0500)
requests/sessions.py
patch
|
blob
|
history
diff --git
a/requests/sessions.py
b/requests/sessions.py
index
9aa8c13
..
0d1441b
100644
(file)
--- 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()