Use print function everywhere

This commit is contained in:
Stuart D. Gathman
2016-07-26 09:52:40 -04:00
parent 99552b40e9
commit 76eb93223c
12 changed files with 46 additions and 35 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ This module is free software, and you may redistribute it and/or modify
it under the same terms as Python itself, so long as this copyright message
and disclaimer are retained in their original form.
"""
from __future__ import print_function
import struct
#from spf import RE_IP4
import re
@@ -80,7 +81,7 @@ def inet_pton(p):
(0, 0, 0, 0, 0, 65535, 258, 772)
>>> try: inet_pton('::1.2.3.4.5')
... except ValueError,x: print x
... except ValueError,x: print(x)
::1.2.3.4.5
"""
if p == '::':