Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion httpcore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,6 @@ def __init__(self, *args, **kwargs): # type: ignore

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