diff options
-rw-r--r-- | trunk/ipaddr.py | 2 | ||||
-rwxr-xr-x | trunk/ipaddr_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/trunk/ipaddr.py b/trunk/ipaddr.py index 4fe6e11..16e0a4d 100644 --- a/trunk/ipaddr.py +++ b/trunk/ipaddr.py @@ -915,7 +915,7 @@ class _BaseNet(_IPAddrBase): version=self._version) def subnet(self, prefixlen_diff=1, new_prefix=None): - """Return a list of subnets, rather than an interator.""" + """Return a list of subnets, rather than an iterator.""" return list(self.iter_subnets(prefixlen_diff, new_prefix)) def supernet(self, prefixlen_diff=1, new_prefix=None): diff --git a/trunk/ipaddr_test.py b/trunk/ipaddr_test.py index 23bffa4..c0d3886 100755 --- a/trunk/ipaddr_test.py +++ b/trunk/ipaddr_test.py @@ -934,7 +934,7 @@ class IpaddrUnitTest(unittest.TestCase): self.assertEqual(str(self.ipv6.with_netmask), '2001:658:22a:cafe:200::1/64') # this probably don't make much sense, but it's included for - # compatability with ipv4 + # compatibility with ipv4 self.assertEqual(str(self.ipv6.with_hostmask), '2001:658:22a:cafe:200::1/::ffff:ffff:ffff:ffff') |