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-Tag: v2.7.12rc1~282 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e57c957ff96ce8b8be43b7da14afde2eb02f4311;p=thirdparty%2FPython%2Fcpython.git 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 6414277c849f..fa2d9f0690ee 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;