Mercurial > vim
annotate src/testdir/pyxfile/py2_magic.py @ 18536:c0cd979000f9 v8.1.2262
patch 8.1.2262: unpack assignment in function not recognized
Commit: https://github.com/vim/vim/commit/1e673b9eb686459bd0e7fc3f2199dd077546a18e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 6 15:02:50 2019 +0100
patch 8.1.2262: unpack assignment in function not recognized
Problem: Unpack assignment in function not recognized.
Solution: Skip over "[a, b]". (closes https://github.com/vim/vim/issues/5051)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 06 Nov 2019 15:15: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 # requires python 2.x |
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) |