diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-17 03:26:16 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-17 03:26:16 (GMT) |
commit | 6d57fe1c23430d0d51de243a177670b76c37dab5 (patch) | |
tree | 8625e5f5e0b9e9f7a7bc02928757772e052f6886 /Modules/_ctypes | |
parent | 4a72a7b6c4c95f7613486f0e4e20a3d4815a16c5 (diff) | |
download | cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.zip cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.tar.gz cpython-6d57fe1c23430d0d51de243a177670b76c37dab5.tar.bz2 |
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 7de9cee..2935292 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -5138,18 +5138,18 @@ comerror_init(PyObject *self, PyObject *args, PyObject *kwds) int status; if (!_PyArg_NoKeywords(Py_TYPE(self)->tp_name, kwds)) - return -1; + return -1; if (!PyArg_ParseTuple(args, "OOO:COMError", &hresult, &text, &details)) return -1; a = PySequence_GetSlice(args, 1, PySequence_Size(args)); if (!a) - return -1; + return -1; status = PyObject_SetAttrString(self, "args", a); Py_DECREF(a); if (status < 0) - return -1; + return -1; if (PyObject_SetAttrString(self, "hresult", hresult) < 0) return -1; |