summaryrefslogtreecommitdiffstats
path: root/Doc/library/ipaddress.rst
diff options
context:
space:
mode:
authorMarco Buttu <marco.buttu@gmail.com>2017-04-27 12:23:34 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-27 12:23:34 (GMT)
commite65fcde85abf6617508f2d6b77020e24b8ca6f6b (patch)
tree8cc02a1cb4906417c52bf720c72a1de65ed56048 /Doc/library/ipaddress.rst
parent6fde770e4e940c19cd62de0b6aeb77840690843e (diff)
downloadcpython-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.rst8
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
-----------------------------