[Python-checkins] cpython: Issue #14814: use print() function
sandro.tosi
python-checkins at python.org
Sat Jun 2 17:17:48 CEST 2012
http://hg.python.org/cpython/rev/4b4044292d09
changeset: 77296:4b4044292d09
user: Sandro Tosi <sandro.tosi at gmail.com>
date: Sat Jun 02 17:16:33 2012 +0200
summary:
Issue #14814: use print() function
files:
Doc/howto/ipaddress.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/ipaddress.rst b/Doc/howto/ipaddress.rst
--- a/Doc/howto/ipaddress.rst
+++ b/Doc/howto/ipaddress.rst
@@ -288,4 +288,4 @@
try:
ipaddress.IPv4Address(address)
except ValueError:
- print 'address/netmask is invalid: %s' % address
+ print('address/netmask is invalid:', address)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list