-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
gh-132734: Add new constants for Bluetooth sockets #132735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
gh-132734: Add new constants for Bluetooth sockets #132735
Conversation
Doc/library/socket.rst
Outdated
Options names for use with :const:`BTPROTO_HCI`. | ||
Availability and format of the option value depend on platform. | ||
|
||
.. availability:: Linux and BSD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. availability:: Linux and BSD | |
.. availability:: Linux, FreeBSD |
Consistent with your first one, also we cannot officially guarantee *BSD support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not only FreeBSD. In several places I use BSD as a shortcut for FreeBSD, NetBSD and DragonFly BSD.
Note that different constants are available on different platforms.
on NetBSD and DragonFly BSD. | ||
Added :const:`!HCI_DATA_DIR` on FreeBSD, NetBSD and DragonFly BSD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on NetBSD and DragonFly BSD. | |
Added :const:`!HCI_DATA_DIR` on FreeBSD, NetBSD and DragonFly BSD. | |
for NetBSD and DragonFly BSD. | |
Added :const:`!HCI_DATA_DIR` for FreeBSD, NetBSD and DragonFly BSD. |
I think for is more fitting here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it so? I thought that it is more common to write "on platform" than "for platform". There are many examples of the former, and not many of the latter.
📚 Documentation preview 📚: https://cpython-previews--132735.org.readthedocs.build/