From af4a61a85d6e8cacc35324f266934bc463a21673 Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Mon, 27 Dec 2021 17:21:41 +0000 Subject: patch 8.2.3914: various spelling mistakes in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416) --- src/if_python.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/if_python.c') diff --git a/src/if_python.c b/src/if_python.c index a27098245a..1b7ff762f6 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -674,7 +674,7 @@ python_runtime_link_init(char *libname, int verbose) # if !(defined(PY_NO_RTLD_GLOBAL) && defined(PY3_NO_RTLD_GLOBAL)) && defined(UNIX) && defined(FEAT_PYTHON3) // Can't have Python and Python3 loaded at the same time. - // It cause a crash, because RTLD_GLOBAL is needed for + // It causes a crash, because RTLD_GLOBAL is needed for // standard C extension libraries of one or both python versions. if (python3_loaded()) { @@ -1461,7 +1461,7 @@ LineToString(const char *str) PyInt len = strlen(str); char *p; - // Allocate an Python string object, with uninitialised contents. We + // Allocate a Python string object, with uninitialised contents. We // must do it this way, so that we can modify the string in place // later. See the Python source, Objects/stringobject.c for details. result = PyString_FromStringAndSize(NULL, len); -- cgit v1.2.3