Skip to content

Commit 7e1498d

Browse files
committed
Verify that the correct Python version is in use
1 parent 009b0ec commit 7e1498d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pubsub/pubsub.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
'Simple message publisher/subscriber service'
22

3+
import sys
4+
assert sys.version_info[:3] >= (3, 6, 1), "Requires 3.6.1 or later"
5+
36
from typing import List, Tuple, DefaultDict, Set, Optional, NamedTuple, Deque, Dict
47
from collections import deque, defaultdict
58
import hashlib

0 commit comments

Comments
 (0)