diff options
author | Georg Brandl <georg@python.org> | 2009-07-24 16:46:38 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-24 16:46:38 (GMT) |
commit | 36b30b5a4bd87e42c6e8a613b9753db0e9964c95 (patch) | |
tree | 916677243684b74019fffb9b09eeed03939f5109 /Doc/c-api/method.rst | |
parent | f0b17335747d335d1b4b5c1b790e1d90e762acdb (diff) | |
download | cpython-36b30b5a4bd87e42c6e8a613b9753db0e9964c95.zip cpython-36b30b5a4bd87e42c6e8a613b9753db0e9964c95.tar.gz cpython-36b30b5a4bd87e42c6e8a613b9753db0e9964c95.tar.bz2 |
Dont put "void" in signature for nullary functions.
Diffstat (limited to 'Doc/c-api/method.rst')
-rw-r--r-- | Doc/c-api/method.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/method.rst b/Doc/c-api/method.rst index c104f89..add1f0f 100644 --- a/Doc/c-api/method.rst +++ b/Doc/c-api/method.rst @@ -65,7 +65,7 @@ There are some useful functions that are useful for working with method objects. Macro version of :cfunc:`PyMethod_Self` which avoids error checking. -.. cfunction:: int PyMethod_ClearFreeList(void) +.. cfunction:: int PyMethod_ClearFreeList() Clear the free list. Return the total number of freed items. |