Skip to content
Myr

Meet @sigmavirus24's demanding stylistic criteria.

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

authored by Cory Benfield · committed by Cory Benfield · parent dddb41e · Browse files · 1 file+5 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+5 added−3 removed

  • other:+5 added−3 removed

1 file+5 added−3 removed

modified:requests/utils.py+5 added-3 removed
636 unmodified lines
637 if url:638 parsed = urlparse(url)639640 try:641 return (unquote(parsed.username), unquote(parsed.password))641 auth = (unquote(parsed.username), unquote(parsed.password))642 except (AttributeError, TypeError):643 pass643 auth = ('', '')644 else:645 auth = ('', '')646645 return ('', '')647 return auth648649650def to_native_string(string, encoding='ascii'):651 """
15 unmodified lines