diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-08-27 18:35:45 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-27 18:35:45 +0200 |
commit | d4e4ecbb3793cd45b645471966c1ac703be52f4a (patch) | |
tree | 21dc9d7421f7016bdeb0d3f5875e36251795d38c /src/if_py_both.h | |
parent | 74e1dada4199b2d9e68ccaafdb7895c85b4b08f1 (diff) |
patch 9.0.1795: Indentation issuesv9.0.1795
Problem: Indentation issues
Solution: Fix code indentation issues.
closes: #12906
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r-- | src/if_py_both.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index c1d7675cb3..6e2ef26e7d 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -109,7 +109,7 @@ PyObject* Vim_PyObject_New(PyTypeObject *type, size_t objsize) { PyObject *obj = (PyObject *)PyObject_Malloc(objsize); if (obj == NULL) - return PyErr_NoMemory(); + return PyErr_NoMemory(); return PyObject_Init(obj, type); } # undef PyObject_NEW @@ -270,7 +270,7 @@ int Vim_PyRun_SimpleString(const char *str) // This function emulates CPython's implementation. PyObject* m = PyImport_AddModule("__main__"); if (m == NULL) - return -1; + return -1; PyObject* d = PyModule_GetDict(m); PyObject* output = Vim_PyRun_String(str, Py_file_input, d, d); if (output == NULL) |