cpython: 45265ecaa3e4 (original) (raw)

Mercurial > cpython

changeset 78001:45265ecaa3e4

Issue 14814: Remove dead function (noticed by Serhiy Storchaka)

Nick Coghlan ncoghlan@gmail.com
date Sun, 08 Jul 2012 21:38:12 +1000
parents 740c2d5ecd04
children 9afdd8c25bf2
files Lib/ipaddress.py Lib/test/test_ipaddress.py
diffstat 2 files changed, 0 insertions(+), 19 deletions(-)[+] [-] Lib/ipaddress.py 18 Lib/test/test_ipaddress.py 1

line wrap: on

line diff

--- a/Lib/ipaddress.py +++ b/Lib/ipaddress.py @@ -183,24 +183,6 @@ def _find_address_range(addresses): return (first, last) -def _get_prefix_length(number1, number2, bits):

-

-

-

- - def _count_righthand_zero_bits(number, bits): """Count the number of zero bits on the right hand side.

--- a/Lib/test/test_ipaddress.py +++ b/Lib/test/test_ipaddress.py @@ -551,7 +551,6 @@ class IpaddrUnitTest(unittest.TestCase): ipaddress.IPv4Address('10.10.10.10'), ipaddress.IPv4Address('10.10.10.12')]) self.assertEqual(first, last)