Mercurial > vim
annotate src/testdir/pyxfile/py2_shebang.py @ 19443:6b1a59e71f85 v8.2.0279
patch 8.2.0279: Vim9: no test for deleted :def function
Commit: https://github.com/vim/vim/commit/63ce4849efa54d3980446ad337d0e1248ec86182
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 19 15:46:48 2020 +0100
patch 8.2.0279: Vim9: no test for deleted :def function
Problem: Vim9: no test for deleted :def function.
Solution: Add a test. Clear uf_cleared flag when redefining a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Feb 2020 16:00:04 +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) |