Skip to content
Myr

Fix typos in docstrings

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

authored by Saugat Pachhai · committed by Seth Michael Larson · parent e64fcad · Browse files · 4 files+4 added−4 removed
This commit

State

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

Diff stats

4 files+4 added−4 removed

  • tests:+2 added−2 removed
  • other:+2 added−2 removed

4 files+4 added−4 removed

modified:httpx/concurrency.py+1 added-1 removed
28 unmodified lines
293031def ssl_monkey_patch() -> None:32 """33 Monky-patch for https://bugs.python.org/issue3670933 Monkey-patch for https://bugs.python.org/issue367093435 This prevents console errors when outstanding HTTPS connections36 still exist at the point of exiting.37
237 unmodified lines
modified:httpx/interfaces.py+1 added-1 removed
118 unmodified lines
119120121class BaseReader:122 """123 A stream reader. Abstracts away any asyncio-specfic interfaces123 A stream reader. Abstracts away any asyncio-specific interfaces124 into a more generic base class, that we can use with alternate125 backend, or for stand-alone test cases.126 """127
103 unmodified lines
modified:tests/dispatch/test_connection_pools.py+1 added-1 removed
21 unmodified lines
2223@pytest.mark.asyncio24async def test_differing_connection_keys(server):25 """26 Connnections to differing connection keys should result in multiple connections.26 Connections to differing connection keys should result in multiple connections.27 """28 async with httpx.ConnectionPool() as http:29 response = await http.request("GET", "http://127.0.0.1:8000/")30 await response.read()
143 unmodified lines
modified:tests/test_api.py+1 added-1 removed
6 unmodified lines
789def threadpool(func):10 """11 Our sync tests should run in seperate thread to the uvicorn server.11 Our sync tests should run in separate thread to the uvicorn server.12 """1314 @functools.wraps(func)15 async def wrapped(*args, **kwargs):
76 unmodified lines