Mercurial > vim
view ci/if_ver-2.vim @ 24446:f388a033e568 v8.2.2763
patch 8.2.2763: Vim9: cannot use type in for loop unpack at script level
Commit: https://github.com/vim/vim/commit/a3589a0d6cdb314e70421c0f2e5a2d1abf68e597
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 14 13:30:46 2021 +0200
patch 8.2.2763: Vim9: cannot use type in for loop unpack at script level
Problem: Vim9: cannot use type in for loop unpack at script level.
Solution: Advance over the type name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Apr 2021 13:45:04 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Print py3 interface versions for Ubuntu. Part 2. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo 'Python 3:' PrintVer python3 print(sys.version) endif