]> granicus.if.org Git - python/commitdiff
Issue26142 - Fix a formatting bug in c-api intro doc.
authorSenthil Kumaran <senthil@uthcode.com>
Mon, 18 Jan 2016 01:05:14 +0000 (17:05 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Mon, 18 Jan 2016 01:05:14 +0000 (17:05 -0800)
Doc/c-api/intro.rst

index 6414277c849f472e84647bd1d02f10cbe1ee7bfa..fa2d9f0690ee97a07449ecdaace027b9f75ff195 100644 (file)
@@ -258,7 +258,7 @@ sets all items of a list (actually, any mutable sequence) to a given item::
            if (PyObject_SetItem(target, index, item) < 0) {
                Py_DECREF(index);
                return -1;
-       }
+           }
            Py_DECREF(index);
        }
        return 0;