From: Senthil Kumaran Date: Mon, 18 Jan 2016 01:05:14 +0000 (-0800) Subject: Issue26142 - Fix a formatting bug in c-api intro doc. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e57c957ff96ce8b8be43b7da14afde2eb02f4311;p=python Issue26142 - Fix a formatting bug in c-api intro doc. --- 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;