contrib/byteify-strings.py
branchstable
changeset 43379 bb509f39d387
parent 43076 2372284d9457
child 43407 09234eeae206
--- a/contrib/byteify-strings.py	Sat Nov 02 11:42:46 2019 -0700
+++ b/contrib/byteify-strings.py	Sat Nov 02 11:48:38 2019 -0700
@@ -339,7 +339,7 @@
 
 
 if __name__ == '__main__':
-    if sys.version_info.major < 3:
-        print('This script must be run under Python 3.')
+    if sys.version_info[0:2] < (3, 6):
+        print('This script must be run under Python 3.6+')
         sys.exit(3)
     main()