We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01ab13 commit 066d297Copy full SHA for 066d297
contrib/zmq/zmq_sub.py
@@ -30,7 +30,7 @@
30
import struct
31
import sys
32
33
-if not (sys.version_info.major >= 3 and sys.version_info.minor >= 5):
+if (sys.version_info.major, sys.version_info.minor) < (3, 5):
34
print("This example only works with Python 3.5 and greater")
35
sys.exit(1)
36
contrib/zmq/zmq_sub3.4.py
@@ -34,7 +34,7 @@
37
-if not (sys.version_info.major >= 3 and sys.version_info.minor >= 4):
+if (sys.version_info.major, sys.version_info.minor) < (3, 4):
38
print("This example only works with Python 3.4 and greater")
39
40
0 commit comments