Skip to content

Commit b147505

Browse files
committed
Add missing return type annotation
1 parent 895bb1c commit b147505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

httpx/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def __init__(self, ip_net: str) -> None:
256256
pass # not a range
257257
self.net = ipaddress.ip_network(ip_net)
258258

259-
def matches(self, other: URL):
259+
def matches(self, other: URL) -> bool:
260260
try:
261261
return ipaddress.ip_address(other.host) in self.net
262262
except ValueError:

0 commit comments

Comments
 (0)