mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
docstring fix
This commit is contained in:
@@ -28,9 +28,10 @@ class Session(object):
|
||||
return '<requests-client at %s>' % (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()
|
||||
|
||||
Reference in New Issue
Block a user