updated for version 7.3.288
Problem: has('python') may give an error message for not being able to load
the library after using python3.
Solution: Only give the error when the verbose argument is true.
diff --git a/src/if_python.c b/src/if_python.c
index f3b7e5b..d8dff02 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -368,7 +368,8 @@
* standard C extension libraries of one or both python versions. */
if (python3_loaded())
{
- EMSG(_("E836: This Vim cannot execute :python after using :py3"));
+ if (verbose)
+ EMSG(_("E836: This Vim cannot execute :python after using :py3"));
return FAIL;
}
#endif