Skip to content

Commit c15fd9c

Browse files
committed
Fix prnt() to force string
1 parent 1897a0a commit c15fd9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/phonenumbers/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def prnt(*args, **kwargs):
6161
file = kwargs.get('file', None)
6262
if file is None:
6363
file = sys.stdout
64-
print >> file, sep.join(args) + end,
64+
print >> file, sep.join([str(arg) for arg in args]) + end,
6565

6666
class UnicodeMixin(object): # pragma no cover
6767
__str__ = lambda x: unicode(x).encode('utf-8')

0 commit comments

Comments
 (0)