diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-15 16:04:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-15 16:04:40 +0200 |
commit | d5f729cada4129ceb8296b86390c38021684c75f (patch) | |
tree | a970a59306199cd8d205ee490e01d3f7e3172fac /src/if_python3.c | |
parent | e761459eb69597ee4099cf384b69d6f94b2ab8f0 (diff) | |
download | vim-git-d5f729cada4129ceb8296b86390c38021684c75f.tar.gz |
updated for version 7.3.953v7.3.953
Problem: Python: string exceptions are deprecated.
Solution: Make vim.error an Exception subclass. (ZyX)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r-- | src/if_python3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_python3.c b/src/if_python3.c index 02da1b0c4..2f98a0462 100644 --- a/src/if_python3.c +++ b/src/if_python3.c @@ -1606,8 +1606,8 @@ Py3Init_vim(void) return NULL; VimError = PyErr_NewException("vim.error", NULL, NULL); - Py_INCREF(VimError); + Py_INCREF(VimError); PyModule_AddObject(mod, "error", VimError); Py_INCREF((PyObject *)(void *)&TheBufferMap); PyModule_AddObject(mod, "buffers", (PyObject *)(void *)&TheBufferMap); |