Skip to content
Myr

Remove an obsolete attribute from __attrs__

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

The extra attribute in __attrs__ makes an unpickled session have one more attribute than the original. Removing it makes the original and the unpickled be identical.

authored by Ned Batchelder · committed by Nate Prewitt · parent c46f55b · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/sessions.py+1 added-1 removed
353 unmodified lines
354 """355356 __attrs__ = [357 'headers', 'cookies', 'auth', 'proxies', 'hooks', 'params', 'verify',358 'cert', 'prefetch', 'adapters', 'stream', 'trust_env',358 'cert', 'adapters', 'stream', 'trust_env',359 'max_redirects',360 ]361362 def __init__(self):
405 unmodified lines