From 16f852345bcdec1bbb15e5363fad6b33bf960912 Mon Sep 17 00:00:00 2001 From: s-sanjay Date: Thu, 30 Mar 2017 00:44:29 -0700 Subject: bpo-29913: deprecate compare_networks() in documentation (GH-865) --- Doc/library/ipaddress.rst | 3 +++ Misc/ACKS | 1 + 2 files changed, 4 insertions(+) diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst index 50fb778..90dfd46 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 2056efe..2164206 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1730,3 +1730,4 @@ Peter Åstrand evilzero Dhushyanth Ramasamy Subhendu Ghosh +Sanjay Sundaresan -- cgit v0.12