bpo-29913: deprecate compare_networks() in documentation (GH-865)

This commit is contained in:
s-sanjay 2017-03-30 00:44:29 -07:00 committed by Xiang Zhang
parent 84b8e92e46
commit 16f852345b
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -1730,3 +1730,4 @@ Peter Åstrand
evilzero
Dhushyanth Ramasamy
Subhendu Ghosh
Sanjay Sundaresan