diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 18:46:15 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 18:46:15 (GMT) |
commit | 6d7d6cf76ec090ef776e70e6591215c8213e012e (patch) | |
tree | f511b7ee99151e586868e1e77407e2d0dc0540f3 /Doc/extending | |
parent | 38c741c1fcd432fa8740bed263c82339f9cc0b70 (diff) | |
parent | a072de14be1e8cd992404f300f0104fccedecaa9 (diff) | |
download | cpython-6d7d6cf76ec090ef776e70e6591215c8213e012e.zip cpython-6d7d6cf76ec090ef776e70e6591215c8213e012e.tar.gz cpython-6d7d6cf76ec090ef776e70e6591215c8213e012e.tar.bz2 |
merge with 3.3
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/extending.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index e7c3f33..a559b56 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[] = { |