diff options
author | Marco Buttu <marco.buttu@gmail.com> | 2017-04-27 12:23:34 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-04-27 12:23:34 (GMT) |
commit | e65fcde85abf6617508f2d6b77020e24b8ca6f6b (patch) | |
tree | 8cc02a1cb4906417c52bf720c72a1de65ed56048 /Doc/library/ipaddress.rst | |
parent | 6fde770e4e940c19cd62de0b6aeb77840690843e (diff) | |
download | cpython-e65fcde85abf6617508f2d6b77020e24b8ca6f6b.zip cpython-e65fcde85abf6617508f2d6b77020e24b8ca6f6b.tar.gz cpython-e65fcde85abf6617508f2d6b77020e24b8ca6f6b.tar.bz2 |
bpo-27200: Fix several doctests (GH-604)
Diffstat (limited to 'Doc/library/ipaddress.rst')
-rw-r--r-- | Doc/library/ipaddress.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/ipaddress.rst b/Doc/library/ipaddress.rst index 90dfd46..36c6859 100644 --- a/Doc/library/ipaddress.rst +++ b/Doc/library/ipaddress.rst @@ -25,9 +25,11 @@ This is the full module API reference—for an overview and introduction, see .. versionadded:: 3.3 .. testsetup:: - >>> import ipaddress - >>> from ipaddress import (ip_network, IPv4Address, IPv4Interface, - ... IPv4Network) + + import ipaddress + from ipaddress import ( + ip_network, IPv4Address, IPv4Interface, IPv4Network, + ) Convenience factory functions ----------------------------- |