diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-07-18 14:50:56 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-07-18 14:51:12 +0200 |
commit | 4c6d1b9973c9b2e839c557b548007270dd789445 (patch) | |
tree | 4d2939ef9b5ecbd383ed6f314f0606b8ae321716 /test | |
parent | f5d166acf90902bc7d2b020e82d99e7947720570 (diff) | |
parent | 066d2973a6fff0bf494c4a0000218fe72983808b (diff) |
Merge #13699: contrib: correct version check
066d2973a6fff0bf494c4a0000218fe72983808b contrib: correct version check (Karl-Johan Alm)
Pull request description:
[ not(major >= 3 and minor >= 4) ] fails for '4.0':
```Python
>>> major=4
>>> minor=0
>>> if not (major >= 3 and minor >= 5):
... print('This example only works with Python 3.5 and greater')
...
This example only works with Python 3.5 and greater
```
Tree-SHA512: 41cb8c5dabe0061ead37b0d6447b699c5d5e1a5551a75dd279bb2ec6d6afa51f8b27a48e01195093db7ec37b28ff6445d59646a4a2b6dcee37776afb60eac8dc
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions