Skip to content

Commit cb9422d

Browse files
Fix RST formatting + reword
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 3732ab4 commit cb9422d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Gate `socket.if_nametoindex` and `socket.if_indextoname` on their respective
2-
OS functionality. This matters for Android, on which both are available
3-
prior to API 24, as they are gated on ``if_nameindex`` which is not!
1+
:func:`socket.if_nametoindex` and :func:`socket.if_indextoname` are now
2+
available on platforms that provide them but not ``if_nameindex()``, such
3+
as Android before API level 24.

0 commit comments

Comments
 (0)