summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 20:46:15 +0200
committerGeorg Brandl <georg@python.org>2013-10-06 20:46:15 +0200
commit6d7d6cf76ec090ef776e70e6591215c8213e012e (patch)
treef511b7ee99151e586868e1e77407e2d0dc0540f3
parent38c741c1fcd432fa8740bed263c82339f9cc0b70 (diff)
parenta072de14be1e8cd992404f300f0104fccedecaa9 (diff)
downloadcpython-git-6d7d6cf76ec090ef776e70e6591215c8213e012e.tar.gz
merge with 3.3
-rw-r--r--Doc/extending/extending.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index e7c3f335d2..a559b56748 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -719,9 +719,7 @@ Philbrick (philbrick@hks.com)::
action, voltage);
printf("-- Lovely plumage, the %s -- It's %s!\n", type, state);
- Py_INCREF(Py_None);
-
- return Py_None;
+ Py_RETURN_NONE;
}
static PyMethodDef keywdarg_methods[] = {