Skip to content

Commit 658bcec

Browse files
committed
Comment the SOCKET_OPTION exclusion
1 parent 4c399a9 commit 658bcec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

httpcore/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,6 @@ def __init__(self, *args, **kwargs): # type: ignore
136136

137137
__locals = locals()
138138
for __name in __all__:
139+
# Exclude SOCKET_OPTION, it causes AttributeError on Python 3.14
139140
if not __name.startswith(("__", "SOCKET_OPTION")):
140141
setattr(__locals[__name], "__module__", "httpcore") # noqa

0 commit comments

Comments
 (0)