bpo-29913: deprecate compare_networks() in documentation (GH-865)
authors-sanjay <sanjay537@gmail.com>
Thu, 30 Mar 2017 07:44:29 +0000 (00:44 -0700)
committerXiang Zhang <angwerzx@126.com>
Thu, 30 Mar 2017 07:44:29 +0000 (15:44 +0800)
Doc/library/ipaddress.rst
Misc/ACKS

index 50fb778dfbad8925e6fd1b93e131c92648b7cf5d..90dfd461190a967f658d4beb07bc96b81ecd2286 100644 (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)
 
index 2056efe8fb036248f218f59f0ab2ebd0624ab3db..21642065f43810a098e6edac8a7e83bba044c548 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1730,3 +1730,4 @@ Peter Åstrand
 evilzero
 Dhushyanth Ramasamy
 Subhendu Ghosh
+Sanjay Sundaresan