Mercurial > vim
comparison src/if_py_both.h @ 32952:1c143662a40d v9.0.1778
patch 9.0.1778: if_py_both: code-style issue
Commit: https://github.com/vim/vim/commit/75dc1ed1adddbcde926872bb41dfe1a1b0029848
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Aug 20 23:19:24 2023 +0200
patch 9.0.1778: if_py_both: code-style issue
Problem: if_py_both: code-style issue
Solution: add space
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 20 Aug 2023 23:30:02 +0200 |
parents | c517845bd10e |
children | 29b2193466e0 |
comparison
equal
deleted
inserted
replaced
32951:6c57606378bd | 32952:1c143662a40d |
---|---|
146 PyErr_FORMAT(PyExc_TypeError, msg, full_str); \ | 146 PyErr_FORMAT(PyExc_TypeError, msg, full_str); \ |
147 Py_DECREF(qualname); \ | 147 Py_DECREF(qualname); \ |
148 Py_XDECREF(module); \ | 148 Py_XDECREF(module); \ |
149 Py_XDECREF(full); \ | 149 Py_XDECREF(full); \ |
150 Py_XDECREF(full_bytes); \ | 150 Py_XDECREF(full_bytes); \ |
151 } while(0) | 151 } while (0) |
152 | 152 |
153 # define PyList_GET_ITEM(list, i) PyList_GetItem(list, i) | 153 # define PyList_GET_ITEM(list, i) PyList_GetItem(list, i) |
154 # define PyList_GET_SIZE(o) PyList_Size(o) | 154 # define PyList_GET_SIZE(o) PyList_Size(o) |
155 # define PyTuple_GET_ITEM(o, pos) PyTuple_GetItem(o, pos) | 155 # define PyTuple_GET_ITEM(o, pos) PyTuple_GetItem(o, pos) |
156 # define PyTuple_GET_SIZE(o) PyTuple_Size(o) | 156 # define PyTuple_GET_SIZE(o) PyTuple_Size(o) |