summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-14 14:37:07 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-14 14:37:07 +0200
commit2e324950b83fcdf60843b54a6a339183370f338a (patch)
treec80a94cf7de8b07ad87c83d2188e83620df86cb0 /src/if_python3.c
parent78a16b0f2a142aae1fdc96c50ab0f25194d0e755 (diff)
patch 8.0.1709: some non-C89 code may slip throughv8.0.1709
Problem: Some non-C89 code may slip through. Solution: Enforce C89 in configure. Fix detected problems. (James McCoy, closes #2735)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index b885deb049..4360fe45c5 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -815,7 +815,7 @@ python3_end(void)
#endif
if (Py_IsInitialized())
{
- // acquire lock before finalizing
+ /* acquire lock before finalizing */
PyGILState_Ensure();
Py_Finalize();