summaryrefslogtreecommitdiffstats
path: root/src/if_python.c
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-12-27 17:21:41 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-27 17:21:41 +0000
commitaf4a61a85d6e8cacc35324f266934bc463a21673 (patch)
tree3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/if_python.c
parent5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff)
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/if_python.c')
-rw-r--r--src/if_python.c4
1 files changed, 2 insertions, 2 deletions
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);