aboutsummaryrefslogtreecommitdiff
path: root/contrib/zmq/zmq_sub3.4.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/zmq/zmq_sub3.4.py')
-rw-r--r--contrib/zmq/zmq_sub3.4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/zmq/zmq_sub3.4.py b/contrib/zmq/zmq_sub3.4.py
index 0df843c9a3..d05ecc2623 100644
--- a/contrib/zmq/zmq_sub3.4.py
+++ b/contrib/zmq/zmq_sub3.4.py
@@ -34,7 +34,7 @@ import signal
import struct
import sys
-if not (sys.version_info.major >= 3 and sys.version_info.minor >= 4):
+if (sys.version_info.major, sys.version_info.minor) < (3, 4):
print("This example only works with Python 3.4 and greater")
sys.exit(1)