Skip to content

gh-151396: Document socket.AddressFamily and socket.SocketKind#153286

Open
zainnadeem786 wants to merge 1 commit into
python:mainfrom
zainnadeem786:docs/socket-addressfamily-socketkind
Open

gh-151396: Document socket.AddressFamily and socket.SocketKind#153286
zainnadeem786 wants to merge 1 commit into
python:mainfrom
zainnadeem786:docs/socket-addressfamily-socketkind

Conversation

@zainnadeem786

Copy link
Copy Markdown
Contributor

Summary

Add explicit documentation entries for socket.AddressFamily and socket.SocketKind.

These enum classes are exported through socket.__all__ and collect the AF_* and SOCK_* constants respectively. The new entries are intentionally brief and avoid duplicating the existing constant documentation.

This allows Sphinx/intersphinx references to resolve these enum classes directly.

Docs-only change. No runtime behavior changes.

Close: gh-151396

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33482828 | 📁 Comparing 5a1a69a against main (a74280e)

  🔍 Preview build  

1 file changed
± library/socket.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

socket.AddressFamily and socket.SocketKind are undocumented

1 participant