[docs] [issue15888] ipaddress HOWTO examples have some errors

Chris Jerdonek report at bugs.python.org
Sun Sep 9 16:11:29 CEST 2012


Chris Jerdonek added the comment:
While we are here, the corresponding Python file also has a couple errors in one of its doctest examples.
File "Lib/ipaddress.py", line 209, in ipaddress.summarize_address_range
Failed example:
 summarize_address_range(IPv4Address('192.0.2.0'),
Exception raised:
 Traceback (most recent call last):
 File "Lib/doctest.py", line 1287, in __run
 compileflags, 1), test.globs)
 File "<doctest ipaddress.summarize_address_range[0]>", line 1
 summarize_address_range(IPv4Address('192.0.2.0'),
 ^
 SyntaxError: unexpected EOF while parsing
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15888>
_______________________________________


More information about the docs mailing list

AltStyle によって変換されたページ (->オリジナル) /