[issue17688] Wrong signature for richcmpfunc in documentation

2013-04-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed. Thanks. -- nosy: +asvetlov resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.4 ___ Python tracker __

[issue17688] Wrong signature for richcmpfunc in documentation

2013-04-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset a263d40d1724 by Andrew Svetlov in branch '3.3': #17688: fix declaration for richcmp example in the docs. http://hg.python.org/cpython/rev/a263d40d1724 New changeset 4c996682d086 by Andrew Svetlov in branch 'default': #17688: fix declaration for rich

[issue17688] Wrong signature for richcmpfunc in documentation

2013-04-10 Thread Daniel Müllner
New submission from Daniel Müllner: The C API documentation has a code snippet with a sample implementation of a rich comparison function here: http://docs.python.org/3.3/extending/newtypes.html#object-comparison The function is declared as static int newdatatype_richcmp(PyObject *obj1, PyObj