Skip to content

Commit 6fa0f46

Browse files
committed
setup: remove Python 2 only syntax
1 parent 69ba3c9 commit 6fa0f46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ def build_extension(self, ext):
4141
try:
4242
ext.sources = list(map(ensure_source, ext.sources))
4343
except NoCython:
44-
print "WARNING"
45-
print "Cython is required for building extension from checkout."
46-
print "Install Cython >= 0.16 or install msgpack from PyPI."
47-
print "Falling back to pure Python implementation."
44+
print("WARNING")
45+
print("Cython is required for building extension from checkout.")
46+
print("Install Cython >= 0.16 or install msgpack from PyPI.")
47+
print("Falling back to pure Python implementation.")
4848
return
4949
return build_ext.build_extension(self, ext)
5050

0 commit comments

Comments
 (0)