Mercurial > vim
annotate src/testdir/pyxfile/py3_shebang.py @ 14327:b8f1167aa8ad v8.1.0179
patch 8.1.0179: redundant condition for boundary check
commit https://github.com/vim/vim/commit/efc81331e7bceafa2d7bc452a98d6ec1943b4292
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 13 16:31:19 2018 +0200
patch 8.1.0179: redundant condition for boundary check
Problem: Redundant condition for boundary check.
Solution: Remove the condition. (Dominique Pelle). Change FALSE to FAIL.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 13 Jul 2018 16:45:05 +0200 |
parents | 7598ce51bf2a |
children |
rev | line source |
---|---|
10722
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 #!/usr/bin/python3 |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 import sys |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 print(sys.version) |