Skip to content

Commit fabc674

Browse files
committed
fixed typos
1 parent 8e4e08b commit fabc674

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2929
## 1.0.5 (March 27th, 2024)
3030

3131
- Handle `EndOfStream` exception for anyio backend. (#899)
32-
- Allow trio `0.25.*` series in package dependancies. (#903)
32+
- Allow trio `0.25.*` series in package dependencies. (#903)
3333

3434
## 1.0.4 (February 21st, 2024)
3535

@@ -165,7 +165,7 @@ The project versioning policy is now explicitly governed by SEMVER. See https://
165165
## 0.14.1 (November 12th, 2021)
166166

167167
- `max_connections` becomes optional. (Pull #429)
168-
- `certifi` is now included in the install dependancies. (Pull #428)
168+
- `certifi` is now included in the install dependencies. (Pull #428)
169169
- `h2` is now strictly optional. (Pull #428)
170170

171171
## 0.14.0 (November 11th, 2021)

httpcore/_async/connection_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def _assign_requests_to_connections(self) -> list[AsyncConnectionInterface]:
275275
Called whenever a new request is added or removed from the pool.
276276
277277
Any closing connections are returned, allowing the I/O for closing
278-
those connections to be handled seperately.
278+
those connections to be handled separately.
279279
"""
280280
closing_connections = []
281281

httpcore/_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def enforce_headers(
5454
value: HeadersAsMapping | HeadersAsSequence | None = None, *, name: str
5555
) -> list[tuple[bytes, bytes]]:
5656
"""
57-
Convienence function that ensure all items in request or response headers
57+
Convenience function that ensure all items in request or response headers
5858
are either bytes or strings in the plain ASCII range.
5959
"""
6060
if value is None:
@@ -183,13 +183,13 @@ class URL:
183183
"""
184184
Represents the URL against which an HTTP request may be made.
185185
186-
The URL may either be specified as a plain string, for convienence:
186+
The URL may either be specified as a plain string, for convenience:
187187
188188
```python
189189
url = httpcore.URL("https://www.example.com/")
190190
```
191191
192-
Or be constructed with explicitily pre-parsed components:
192+
Or be constructed with explicitly pre-parsed components:
193193
194194
```python
195195
url = httpcore.URL(scheme=b'https', host=b'www.example.com', port=None, target=b'/')

httpcore/_sync/connection_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def _assign_requests_to_connections(self) -> list[ConnectionInterface]:
275275
Called whenever a new request is added or removed from the pool.
276276
277277
Any closing connections are returned, allowing the I/O for closing
278-
those connections to be handled seperately.
278+
those connections to be handled separately.
279279
"""
280280
closing_connections = []
281281

httpcore/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def is_socket_readable(sock: socket.socket | None) -> bool:
99
"""
10-
Return whether a socket, as identifed by its file descriptor, is readable.
10+
Return whether a socket, as identified by its file descriptor, is readable.
1111
"A socket is readable" means that the read buffer isn't empty, i.e. that calling
1212
.recv() on it would immediately return some data.
1313
"""

0 commit comments

Comments
 (0)