Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
24cc78ac
Commit
24cc78ac
authored
May 01, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix directive name.
parent
b64b8278
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
Doc/library/ipaddr.rst
Doc/library/ipaddr.rst
+21
-21
No files found.
Doc/library/ipaddr.rst
View file @
24cc78ac
...
...
@@ -58,85 +58,85 @@ both IPv4 and IPv6.
The following properties are available on all IP address objects:
.. attr:: broadcast
.. attr
ibute
:: broadcast
Integer representation of the broadcast address. Read only.
.. attr:: broadcast_ext
.. attr
ibute
:: broadcast_ext
Dotted decimal or colon string version of the broadcast address. Read
only.
.. attr:: hostmask
.. attr
ibute
:: hostmask
Integer representation of the hostmask. Read only.
.. attr:: hostmask_ext
.. attr
ibute
:: hostmask_ext
Dotted decimal or colon string version of the hostmask. Read only.
.. attr:: ip
.. attr
ibute
:: ip
Integer representation of the IP address. Read only.
.. attr:: ip_ext
.. attr
ibute
:: ip_ext
Dotted decimal or colon string version of the IP address. Read only.
.. attr:: ip_ext_full
.. attr
ibute
:: ip_ext_full
Canonical string version of the IP address. Read only.
.. attr:: is_loopback
.. attr
ibute
:: 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
.. attr
ibute
:: 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
.. attr
ibute
:: 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
.. attr
ibute
:: is_private
True if the address is reserved for private networks as defined in IPv4
:rfc:`1918` or IPv6 :rfc:`4193`.
.. attr:: netmask
.. attr
ibute
:: netmask
Integer representation of the netmask. Read only.
.. attr:: netmask_ext
.. attr
ibute
:: netmask_ext
Dotted decimal or colon string version of the netmask. Read only.
.. attr:: network
.. attr
ibute
:: network
Integer representation of the network. Read only.
.. attr:: network_ext
.. attr
ibute
:: network_ext
Dotted decimal or colon string version of the network. Read only.
.. attr:: numhosts
.. attr
ibute
:: numhosts
Number of hosts in the current subnet. Read only.
.. attr:: packed
.. attr
ibute
:: packed
The packed network byte order representation of this network address.
Read only.
.. attr:: prefixlen
.. attr
ibute
:: prefixlen
A property to get and set the prefix length. Readable and writeable.
.. attr:: version
.. attr
ibute
:: version
Integer IP version number. Read only.
...
...
@@ -269,7 +269,7 @@ both IPv4 and IPv6.
.netmask_ext: 64
.prefixlen: 64
.. attr:: is_site_local
.. attr
ibute
:: 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
.. attr
ibute
:: is_unspecified
True if this is the unspecified address as defined in :rfc:`2373` section
2.5.2.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment