@@ -19,7 +19,7 @@ An Introduction to the ipaddress module
1919Creating Address/Network/Interface objects
2020==========================================
2121
22- Since :mod: `ipaddress ` is a module for inspecting and manipulating IP address ,
22+ Since :mod: `ipaddress ` is a module for inspecting and manipulating IP addresses ,
2323the first thing you'll want to do is create some objects. You can use
2424:mod: `ipaddress ` to create objects from strings and integers.
2525
@@ -183,10 +183,10 @@ Finding out how many individual addresses are in a network::
183183 >>> net6.numhosts
184184 4294967296
185185
186- Iterating through the ' usable' addresses on a network::
186+ Iterating through the " usable" addresses on a network::
187187
188188 >>> net4 = ipaddress.ip_network('192.0.2.0/24')
189- >>> for x in net4.iterhosts ():
189+ >>> for x in net4.hosts ():
190190 print(x)
191191 192.0.2.1
192192 192.0.2.2
@@ -294,7 +294,7 @@ Getting more detail when instance creation fails
294294When creating address/network/interface objects using the version-agnostic
295295factory functions, any errors will be reported as :exc: `ValueError ` with
296296a generic error message that simply says the passed in value was not
297- recognised as an object of that type. The lack of a specific error is
297+ recognized as an object of that type. The lack of a specific error is
298298because it's necessary to know whether the value is *supposed * to be IPv4
299299or IPv6 in order to provide more detail on why it has been rejected.
300300
0 commit comments