From: Sandro Tosi Date: Sat, 2 Jun 2012 15:16:33 +0000 (+0200) Subject: Issue #14814: use print() function X-Git-Tag: v3.3.0b1~306 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8162900594c39e4963979ba3b428dbad8cb6cb5;p=thirdparty%2FPython%2Fcpython.git Issue #14814: use print() function --- diff --git a/Doc/howto/ipaddress.rst b/Doc/howto/ipaddress.rst index ebbf1521d111..f855df8cfe07 100644 --- a/Doc/howto/ipaddress.rst +++ b/Doc/howto/ipaddress.rst @@ -288,4 +288,4 @@ you can still do the following:: try: ipaddress.IPv4Address(address) except ValueError: - print 'address/netmask is invalid: %s' % address + print('address/netmask is invalid:', address)