From: s-sanjay Date: Thu, 30 Mar 2017 07:44:29 +0000 (-0700) Subject: bpo-29913: deprecate compare_networks() in documentation (GH-865) X-Git-Tag: v3.7.0a1~1040 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16f852345bcdec1bbb15e5363fad6b33bf960912;p=thirdparty%2FPython%2Fcpython.git bpo-29913: deprecate compare_networks() in documentation (GH-865) --- diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst index 50fb778dfbad..90dfd461190a 100644 --- a/Doc/library/ipaddress.rst +++ b/Doc/library/ipaddress.rst @@ -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) diff --git a/Misc/ACKS b/Misc/ACKS index 2056efe8fb03..21642065f438 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1730,3 +1730,4 @@ Peter Åstrand evilzero Dhushyanth Ramasamy Subhendu Ghosh +Sanjay Sundaresan