]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/hash/test/test-shelve2.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / hash / test / test-shelve2.py
index 883e89197136f6765f3643d782ee0166f3217673..418dd8bc1084f445f83aad09093ed99f9ed2d11a 100755 (executable)
@@ -1,8 +1,9 @@
 #! /usr/bin/env python
 
 
+from __future__ import print_function
 import shelve
 
 db = shelve.open("db", 'r')
-print db["test"]
+print(db["test"])
 db.close()