From e57c957ff96ce8b8be43b7da14afde2eb02f4311 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sun, 17 Jan 2016 17:05:14 -0800 Subject: [PATCH] Issue26142 - Fix a formatting bug in c-api intro doc. --- Doc/c-api/intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst index 6414277c84..fa2d9f0690 100644 --- a/Doc/c-api/intro.rst +++ b/Doc/c-api/intro.rst @@ -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; -- 2.50.1