summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharro@google.com <harro@google.com@09200d28-7f98-11dd-ad27-0f66e57d2035>2010-10-04 23:13:08 +0000
committerharro@google.com <harro@google.com@09200d28-7f98-11dd-ad27-0f66e57d2035>2010-10-04 23:13:08 +0000
commit1dabe5c15143fb3bddbddacb206947250241c119 (patch)
tree09e93072c6ad702773fefa53161a689121f853f7
parent10c0d316c842c7457558eb8d9e177c39d69ce48c (diff)
downloadipaddr-py-1dabe5c15143fb3bddbddacb206947250241c119.tar.gz
Commentary typo fix
git-svn-id: https://ipaddr-py.googlecode.com/svn@192 09200d28-7f98-11dd-ad27-0f66e57d2035
-rw-r--r--trunk/ipaddr.py2
-rwxr-xr-xtrunk/ipaddr_test.py2
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')