@@ -1012,7 +1012,7 @@ The :mod:`socket` module also offers various network-related services:
10121012 Convert an IPv4 address from dotted-quad string format (for example,
10131013 '123.45.67.89') to 32-bit packed binary format, as a bytes object four characters in
10141014 length. This is useful when conversing with a program that uses the standard C
1015- library and needs objects of type :c:type: ` struct in_addr `, which is the C type
1015+ library and needs objects of type :c:struct: ` in_addr `, which is the C type
10161016 for the 32-bit packed binary this function returns.
10171017
10181018 :func: `inet_aton ` also accepts strings with less than three dots; see the
@@ -1031,7 +1031,7 @@ The :mod:`socket` module also offers various network-related services:
10311031 Convert a 32-bit packed IPv4 address (a :term: `bytes-like object ` four
10321032 bytes in length) to its standard dotted-quad string representation (for example,
10331033 '123.45.67.89'). This is useful when conversing with a program that uses the
1034- standard C library and needs objects of type :c:type: ` struct in_addr `, which
1034+ standard C library and needs objects of type :c:struct: ` in_addr `, which
10351035 is the C type for the 32-bit packed binary data this function takes as an
10361036 argument.
10371037
@@ -1048,8 +1048,8 @@ The :mod:`socket` module also offers various network-related services:
10481048
10491049 Convert an IP address from its family-specific string format to a packed,
10501050 binary format. :func: `inet_pton ` is useful when a library or network protocol
1051- calls for an object of type :c:type: ` struct in_addr ` (similar to
1052- :func: `inet_aton `) or :c:type: ` struct in6_addr `.
1051+ calls for an object of type :c:struct: ` in_addr ` (similar to
1052+ :func: `inet_aton `) or :c:struct: ` in6_addr `.
10531053
10541054 Supported values for *address_family * are currently :const: `AF_INET ` and
10551055 :const: `AF_INET6 `. If the IP address string *ip_string * is invalid,
@@ -1069,8 +1069,8 @@ The :mod:`socket` module also offers various network-related services:
10691069 bytes) to its standard, family-specific string representation (for
10701070 example, ``'7.10.0.5' `` or ``'5aef:2b::8' ``).
10711071 :func: `inet_ntop ` is useful when a library or network protocol returns an
1072- object of type :c:type: ` struct in_addr ` (similar to :func: `inet_ntoa `) or
1073- :c:type: ` struct in6_addr `.
1072+ object of type :c:struct: ` in_addr ` (similar to :func: `inet_ntoa `) or
1073+ :c:struct: ` in6_addr `.
10741074
10751075 Supported values for *address_family * are currently :const: `AF_INET ` and
10761076 :const: `AF_INET6 `. If the bytes object *packed_ip * is not the correct
0 commit comments