Mercurial > vim
annotate src/testdir/pyxfile/py2_shebang.py @ 19642:647ef636a11e v8.2.0378
patch 8.2.0378: prop_find() does not find all props
Commit: https://github.com/vim/vim/commit/346f18e5fe12e6aaba5a6a18f6d0deb55eb7a9e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 13 21:36:40 2020 +0100
patch 8.2.0378: prop_find() does not find all props
Problem: prop_find() does not find all props.
Solution: Check being in the start line. (Axel Forsman, closes https://github.com/vim/vim/issues/5776)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 13 Mar 2020 21:45:03 +0100 |
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/python2 |
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) |