Faisal Mahmood <fasial.mahmoo...@gmail.com> added the comment:
Updated the title and method naming, I previously mentioned the "next subnet" and called the method "next_subnet", but technically this is wrong. What this method should be doing is finding the next closest network of prefix size n. So I guess the method definition should be: `next_network(self, next_network=None)` ---------- title: ipaddress - add ability to get next closet subnet of any prefix size -> ipaddress - add ability to get next closet network of any prefix size _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42861> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com