summaryrefslogtreecommitdiffstats
path: root/Objects/structseq.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-15 01:52:58 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-15 01:52:58 (GMT)
commit4b3c7846c9a25dfe4e508d9059ff8274023acd09 (patch)
treea0eafad7c643ac5264ca51bb4f69193bd3be9b98 /Objects/structseq.c
parent37784ba5c08aed9a3153eb5a37014e59ee3769fe (diff)
downloadcpython-4b3c7846c9a25dfe4e508d9059ff8274023acd09.zip
cpython-4b3c7846c9a25dfe4e508d9059ff8274023acd09.tar.gz
cpython-4b3c7846c9a25dfe4e508d9059ff8274023acd09.tar.bz2
Fix indentation
Diffstat (limited to 'Objects/structseq.c')
-rw-r--r--Objects/structseq.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c
index ac4f980..28cbb19 100644
--- a/Objects/structseq.c
+++ b/Objects/structseq.c
@@ -103,27 +103,27 @@ structseq_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (min_len != max_len) {
if (len < min_len) {
PyErr_Format(PyExc_TypeError,
- "%.500s() takes an at least %zd-sequence (%zd-sequence given)",
- type->tp_name, min_len, len);
- Py_DECREF(arg);
- return NULL;
+ "%.500s() takes an at least %zd-sequence (%zd-sequence given)",
+ type->tp_name, min_len, len);
+ Py_DECREF(arg);
+ return NULL;
}
if (len > max_len) {
PyErr_Format(PyExc_TypeError,
- "%.500s() takes an at most %zd-sequence (%zd-sequence given)",
- type->tp_name, max_len, len);
- Py_DECREF(arg);
- return NULL;
+ "%.500s() takes an at most %zd-sequence (%zd-sequence given)",
+ type->tp_name, max_len, len);
+ Py_DECREF(arg);
+ return NULL;
}
}
else {
if (len != min_len) {
PyErr_Format(PyExc_TypeError,
- "%.500s() takes a %zd-sequence (%zd-sequence given)",
- type->tp_name, min_len, len);
- Py_DECREF(arg);
- return NULL;
+ "%.500s() takes a %zd-sequence (%zd-sequence given)",
+ type->tp_name, min_len, len);
+ Py_DECREF(arg);
+ return NULL;
}
}