fix minor typos (#5934)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Kevin Kirsche · committed by GitHub · parent 1e5fad7 · Browse files · 3 files·+5 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+5 added−5 removed
- other:+5 added−5 removed
Provenance
- Commit
fc106ab- Tree
e81366c- Author
Kevin Kirsche <kevin.kirsche@one.verizon.com>- Committer
GitHub <noreply@github.com>- Parent
1e5fad7
3 files changed+5 added−5 removed
modified:docs/user/advanced.rst+1 added-1 removed
444 unmodified lines445 446 def print_url(r, *args, **kwargs):447 print(r.url)448 449-Your callback function must handle its own exceptions. Any unhandled exception wont be pass silently and thus should be handled by the code calling Requests.449+Your callback function must handle its own exceptions. Any unhandled exception won't be passed silently and thus should be handled by the code calling Requests.450 451 If the callback function returns a value, it is assumed that it is to452 replace the data that was passed in. If the function doesn't return453 anything, nothing else is affected.637 unmodified linesmodified:requests/utils.py+1 added-1 removed
152 unmodified lines153 if total_length is not None:154 current_position = total_length155 else:156 if hasattr(o, 'seek') and total_length is None:157- # StringIO and BytesIO have seek but no useable fileno157+ # StringIO and BytesIO have seek but no usable fileno158 try:159 # seek to end of file160 o.seek(0, 2)161 total_length = o.tell()856 unmodified linesmodified:HISTORY.md+3 added-3 removed
111 unmodified lines112 113 **Dependencies**114 115 - Pinning for `chardet` and `idna` now uses major version instead of minor.116- This hopefully reduces the need for releases everytime a dependency is updated.116+ This hopefully reduces the need for releases every time a dependency is updated.117 118 2.22.0 (2019-05-15)119 -------------------120 346 unmodified lines467 **Bugfixes**468 469 - Fixed regression from 2.12.2 where non-string types were rejected in470 the basic auth parameters. While support for this behaviour has been471- readded, the behaviour is deprecated and will be removed in the471+ re-added, the behaviour is deprecated and will be removed in the472 future.473 474 2.12.3 (2016-12-01)475 -------------------1230 unmodified lines1706 1707 New Authentication Manager System1708 1709 : - Simpler Basic HTTP System1710- - Supports all build-in urllib2 Auths1710+ - Supports all built-in urllib2 Auths1711 - Allows for custom Auth Handlers1712 1713 0.2.4 (2011-02-19)1714 ------------------42 unmodified lines