diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2016-01-18 01:05:14 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2016-01-18 01:05:14 (GMT) |
commit | e57c957ff96ce8b8be43b7da14afde2eb02f4311 (patch) | |
tree | ede412a6d441f2372aea4a5eb2e417067465d754 | |
parent | c5e8935d90d0bece6f72ab7a209d17b0bacd160d (diff) | |
download | cpython-e57c957ff96ce8b8be43b7da14afde2eb02f4311.zip cpython-e57c957ff96ce8b8be43b7da14afde2eb02f4311.tar.gz cpython-e57c957ff96ce8b8be43b7da14afde2eb02f4311.tar.bz2 |
Issue26142 - Fix a formatting bug in c-api intro doc.
-rw-r--r-- | Doc/c-api/intro.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst index 6414277..fa2d9f0 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; |