Skip to content
Myr

remove bunk get

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 1758070 · Browse files · 1 file+0 added−15 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+0 added−15 removed

  • other:+0 added−15 removed

1 file+0 added−15 removed

modified:requests/sessions.py-15 removed
65 unmodified lines
6667 # Map and wrap requests.api methods.68 self._map_api_methods()697071 def get(self, url, **kwargs):7273 _kwargs = {}74 for attr in self.__attrs__:75 default_attr = getattr(self, attr)76 local_attr = kwargs.get(attr)7778 new_attr = merge_kwargs(local_attr, default_attr)7980 if new_attr is not None:81 _kwargs[attr] = new_attr8283 return api.get(url, **_kwargs)8470 def __repr__(self):71 return '<requests-client at 0x%x>' % (id(self))7273 def __enter__(self):
47 unmodified lines