view src/testdir/if_ver-2.vim @ 18957:305a7a8d9d4b v8.2.0039

patch 8.2.0039: memory access error when "z=" has no suggestions Commit: https://github.com/vim/vim/commit/569fea2c312126dd5a542c4b1aa51095136a2c0d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 25 13:55:24 2019 +0100 patch 8.2.0039: memory access error when "z=" has no suggestions Problem: Memory access error when "z=" has no suggestions. Solution: Check for negative index.
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Dec 2019 14:00:04 +0100
parents 94e37fd22556
children
line wrap: on
line source

" 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