summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-01 21:30:25 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-01 21:30:25 (GMT)
commit24cc78ac61e49dbb6cfc2352d82aaaf7d56f1f43 (patch)
tree8819a60907698b2a7e5976f302ef11f56ab609be /Doc
parentb64b8278d1a7d2b22db05f78e2b8738ce23fba7d (diff)
downloadcpython-24cc78ac61e49dbb6cfc2352d82aaaf7d56f1f43.zip
cpython-24cc78ac61e49dbb6cfc2352d82aaaf7d56f1f43.tar.gz
cpython-24cc78ac61e49dbb6cfc2352d82aaaf7d56f1f43.tar.bz2
Fix directive name.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ipaddr.rst42
1 files changed, 21 insertions, 21 deletions
diff --git a/Doc/library/ipaddr.rst b/Doc/library/ipaddr.rst
index 76db92d..066b792 100644
--- a/Doc/library/ipaddr.rst
+++ b/Doc/library/ipaddr.rst
@@ -58,85 +58,85 @@ both IPv4 and IPv6.
The following properties are available on all IP address objects:
- .. attr:: broadcast
+ .. attribute:: broadcast
Integer representation of the broadcast address. Read only.
- .. attr:: broadcast_ext
+ .. attribute:: broadcast_ext
Dotted decimal or colon string version of the broadcast address. Read
only.
- .. attr:: hostmask
+ .. attribute:: hostmask
Integer representation of the hostmask. Read only.
- .. attr:: hostmask_ext
+ .. attribute:: hostmask_ext
Dotted decimal or colon string version of the hostmask. Read only.
- .. attr:: ip
+ .. attribute:: ip
Integer representation of the IP address. Read only.
- .. attr:: ip_ext
+ .. attribute:: ip_ext
Dotted decimal or colon string version of the IP address. Read only.
- .. attr:: ip_ext_full
+ .. attribute:: ip_ext_full
Canonical string version of the IP address. Read only.
- .. attr:: is_loopback
+ .. attribute:: is_loopback
True if the address is a loopback address as defined in IPv4 :rfc:`3330`
or IPv6 :rfc:`2373` section 2.5.3.
- .. attr:: is_link_local
+ .. attribute:: is_link_local
True if the address is a link-local address as defined in IPv4 :rfc:`3927`
or IPv6 :rfc:`4291`.
- .. attr:: is_multicast
+ .. attribute:: is_multicast
True if the address is reserved for multicast use. See IPv4 :rfc:`3171`
or IPv6 :rfc:`2373` section 2.7 for details.
- .. attr:: is_private
+ .. attribute:: is_private
True if the address is reserved for private networks as defined in IPv4
:rfc:`1918` or IPv6 :rfc:`4193`.
- .. attr:: netmask
+ .. attribute:: netmask
Integer representation of the netmask. Read only.
- .. attr:: netmask_ext
+ .. attribute:: netmask_ext
Dotted decimal or colon string version of the netmask. Read only.
- .. attr:: network
+ .. attribute:: network
Integer representation of the network. Read only.
- .. attr:: network_ext
+ .. attribute:: network_ext
Dotted decimal or colon string version of the network. Read only.
- .. attr:: numhosts
+ .. attribute:: numhosts
Number of hosts in the current subnet. Read only.
- .. attr:: packed
+ .. attribute:: packed
The packed network byte order representation of this network address.
Read only.
- .. attr:: prefixlen
+ .. attribute:: prefixlen
A property to get and set the prefix length. Readable and writeable.
- .. attr:: version
+ .. attribute:: version
Integer IP version number. Read only.
@@ -269,7 +269,7 @@ both IPv4 and IPv6.
.netmask_ext: 64
.prefixlen: 64
- .. attr:: is_site_local
+ .. attribute:: is_site_local
True if the address was reserved as site-local in :rfc:`3513` section
2.5.6.
@@ -280,7 +280,7 @@ both IPv4 and IPv6.
Use :data:`is_private` to test if this address is in the space of
unique local addresses as defined by :rfc:`4193`.
- .. attr:: is_unspecified
+ .. attribute:: is_unspecified
True if this is the unspecified address as defined in :rfc:`2373` section
2.5.2.