summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/method.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-19 07:58:56 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-19 07:58:56 (GMT)
commite130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (patch)
treeb7f128d5f626c78d57d53812a5953c6eb56cca72 /Doc/c-api/method.rst
parenta5a9a9c3696af0a4a0df74618e63a4d47a62e00f (diff)
downloadcpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.zip
cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.tar.gz
cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.tar.bz2
Remove duplication.
Diffstat (limited to 'Doc/c-api/method.rst')
-rw-r--r--Doc/c-api/method.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/method.rst b/Doc/c-api/method.rst
index 27f9576..acc81e4 100644
--- a/Doc/c-api/method.rst
+++ b/Doc/c-api/method.rst
@@ -27,7 +27,7 @@ to bind a :c:data:`PyCFunction` to a class object. It replaces the former call
.. c:function:: PyObject* PyInstanceMethod_New(PyObject *func)
Return a new instance method object, with *func* being any callable object
- *func* is is the function that will be called when the instance method is
+ *func* is the function that will be called when the instance method is
called.
@@ -70,7 +70,7 @@ no longer available.
.. c:function:: PyObject* PyMethod_New(PyObject *func, PyObject *self)
Return a new method object, with *func* being any callable object and *self*
- the instance the method should be bound. *func* is is the function that will
+ the instance the method should be bound. *func* is the function that will
be called when the method is called. *self* must not be *NULL*.