summaryrefslogtreecommitdiff
path: root/src/testdir/if_ver-2.vim
blob: a6fedb56915db863b4c85c8db59dd4be0c98741a (plain)
1
2
3
4
5
6
7
8
9
10
" Print py3 interface version and write the result into if_ver.txt.
" For Ubuntu. Part 2.

redir! >> if_ver.txt
if 1
  echo "\nPython 3:"
  python3 import sys; print(sys.version)
  echo "\n"
endif
redir END