mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-29913: deprecate compare_networks() in documentation (GH-865)
This commit is contained in:
parent
84b8e92e46
commit
16f852345b
2 changed files with 4 additions and 0 deletions
|
@ -554,6 +554,9 @@ so to avoid duplication they are only documented for :class:`IPv4Network`.
|
|||
>>> ip_network('192.0.2.1/32').compare_networks(ip_network('192.0.2.1/32'))
|
||||
0
|
||||
|
||||
.. deprecated:: 3.7
|
||||
It uses the same ordering and comparison algorithm as "<", "==", and ">"
|
||||
|
||||
|
||||
.. class:: IPv6Network(address, strict=True)
|
||||
|
||||
|
|
|
@ -1730,3 +1730,4 @@ Peter Åstrand
|
|||
evilzero
|
||||
Dhushyanth Ramasamy
|
||||
Subhendu Ghosh
|
||||
Sanjay Sundaresan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue