summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-04-12 13:23:24 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-04-12 13:23:24 (GMT)
commit6ebdb61b67133cc6fae0540fb53185fdc957245c (patch)
tree0c19b754837385297f9453e9f2b2d7beb42e7ce5 /Doc
parent075d87cf05cac2632b3eb14d64a4536066321463 (diff)
parent59d6d2dbebb933ee64b63f87b8a28a534d66b053 (diff)
downloadcpython-6ebdb61b67133cc6fae0540fb53185fdc957245c.zip
cpython-6ebdb61b67133cc6fae0540fb53185fdc957245c.tar.gz
cpython-6ebdb61b67133cc6fae0540fb53185fdc957245c.tar.bz2
Merge heads.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/extending/newtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst
index 835a92e..cb20bce 100644
--- a/Doc/extending/newtypes.rst
+++ b/Doc/extending/newtypes.rst
@@ -1233,7 +1233,7 @@ if an exception was set.
Here is a sample implementation, for a datatype that is considered equal if the
size of an internal pointer is equal::
- static int
+ static PyObject *
newdatatype_richcmp(PyObject *obj1, PyObject *obj2, int op)
{
PyObject *result;