diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 08:06:26 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 08:06:26 (GMT) |
commit | f10644983e88c73437703a863151593cc37a657f (patch) | |
tree | b3cf3ffcc4d27cf9f81c90efbedbc10a856db857 /Doc/c-api/method.rst | |
parent | 318909b297241f9c46f25815e12d05136da57fa9 (diff) | |
parent | e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (diff) | |
download | cpython-f10644983e88c73437703a863151593cc37a657f.zip cpython-f10644983e88c73437703a863151593cc37a657f.tar.gz cpython-f10644983e88c73437703a863151593cc37a657f.tar.bz2 |
Merge with 3.2.
Diffstat (limited to 'Doc/c-api/method.rst')
-rw-r--r-- | Doc/c-api/method.rst | 4 |
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*. |