aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/autoload/health/provider.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index f602684fb5..246bfb5322 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -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