mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
checkhealth: print -> sys.stdout.write
Co-Authored-By: Peter Lithammer <peter.lithammer@gmail.com>
This commit is contained in:
parent
bf85cc0909
commit
1b20014972
@ -489,7 +489,7 @@ endfunction
|
||||
" sys.executable.
|
||||
function! s:locate_pythonx(invocation) abort
|
||||
return s:normalize_path(system(a:invocation
|
||||
\ . ' -c "from __future__ import print_function; import sys; print(sys.executable, end=\"\")"'))
|
||||
\ . ' -c "import sys; sys.stdout.write(sys.executable)"'))
|
||||
endfunction
|
||||
|
||||
" If $VIRTUAL_ENV is set, check whether its Python executables will be
|
||||
|
Loading…
Reference in New Issue
Block a user