summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-20 23:24:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-20 23:24:05 (GMT)
commitc0b95d18fae5c0786dee1dc28f86249f9d2a190b (patch)
tree89601d4b1f80cef9a12f690eb4ecca94176bf2e6 /Objects
parentead6b53659a8cb26d06020888bccee5426a1b899 (diff)
downloadcpython-c0b95d18fae5c0786dee1dc28f86249f9d2a190b.zip
cpython-c0b95d18fae5c0786dee1dc28f86249f9d2a190b.tar.gz
cpython-c0b95d18fae5c0786dee1dc28f86249f9d2a190b.tar.bz2
4 space indentation
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index dccf178..4756df7 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -10095,19 +10095,19 @@ static Py_ssize_t
anylib_count(int kind, PyObject *sstr, void* sbuf, Py_ssize_t slen,
PyObject *str1, void *buf1, Py_ssize_t len1, Py_ssize_t maxcount)
{
- switch (kind) {
- case PyUnicode_1BYTE_KIND:
- if (PyUnicode_IS_ASCII(sstr) && PyUnicode_IS_ASCII(str1))
- return asciilib_count(sbuf, slen, buf1, len1, maxcount);
- else
- return ucs1lib_count(sbuf, slen, buf1, len1, maxcount);
- case PyUnicode_2BYTE_KIND:
- return ucs2lib_count(sbuf, slen, buf1, len1, maxcount);
- case PyUnicode_4BYTE_KIND:
- return ucs4lib_count(sbuf, slen, buf1, len1, maxcount);
- }
- assert(0);
- return 0;
+ switch (kind) {
+ case PyUnicode_1BYTE_KIND:
+ if (PyUnicode_IS_ASCII(sstr) && PyUnicode_IS_ASCII(str1))
+ return asciilib_count(sbuf, slen, buf1, len1, maxcount);
+ else
+ return ucs1lib_count(sbuf, slen, buf1, len1, maxcount);
+ case PyUnicode_2BYTE_KIND:
+ return ucs2lib_count(sbuf, slen, buf1, len1, maxcount);
+ case PyUnicode_4BYTE_KIND:
+ return ucs4lib_count(sbuf, slen, buf1, len1, maxcount);
+ }
+ assert(0);
+ return 0;
}
static PyObject *