Skip to content
Myr

docstring fix

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent f319006 · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:requests/sessions.py+4 added-3 removed
26 unmodified lines
27 def __repr__(self):28 return '<requests-client at %s>' % (id(self))2930 def _map_api_methods(self):31 """ Reads each available method from requests.api and decorates32 them with a wrapper that inserts any instance-local attributes33 (from __attrs__) that have been set, combining them with **kwargs """31 """Reads each available method from requests.api and decorates32 them with a wrapper, which inserts any instance-local attributes33 (from __attrs__) that have been set, combining them with **kwargs.34 """35 def pass_args(func):36 def wrapper_func(*args, **kwargs):37 inst_attrs = dict((k, v) for k, v in self.__dict__.iteritems()38 if k in self.__attrs__)
10 unmodified lines