summaryrefslogtreecommitdiffstats
path: root/Lib/ipaddress.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
commit30b9d5d3af043fc2687ad11a188a34fe355e20ef (patch)
tree6e86b6b605397d826721779611ebd06d028acfc1 /Lib/ipaddress.py
parent67f39777fa2c14f0e632adda8c5945cec569b46e (diff)
downloadcpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.zip
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.gz
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.bz2
#18705: fix a number of typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/ipaddress.py')
-rw-r--r--Lib/ipaddress.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ipaddress.py b/Lib/ipaddress.py
index 39b3f74..eabfd6f 100644
--- a/Lib/ipaddress.py
+++ b/Lib/ipaddress.py
@@ -727,7 +727,7 @@ class _BaseNetwork(_IPAddressBase):
minus other.
Raises:
- TypeError: If self and other are of difffering address
+ TypeError: If self and other are of differing address
versions, or if other is not a network object.
ValueError: If other is not completely contained by self.
@@ -1378,7 +1378,7 @@ class IPv4Network(_BaseV4, _BaseNetwork):
'192.0.2.1'
'192.0.2.1/255.255.255.255'
'192.0.2.1/32'
- are also functionaly equivalent. That is to say, failing to
+ are also functionally equivalent. That is to say, failing to
provide a subnetmask will create an object with a mask of /32.
If the mask (portion after the / in the argument) is given in