~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Doc/c-api/method.rst

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
.. c:function:: PyObject* PyInstanceMethod_New(PyObject *func)
28
28
 
29
29
   Return a new instance method object, with *func* being any callable object
30
 
   *func* is is the function that will be called when the instance method is
 
30
   *func* is the function that will be called when the instance method is
31
31
   called.
32
32
 
33
33
 
70
70
.. c:function:: PyObject* PyMethod_New(PyObject *func, PyObject *self)
71
71
 
72
72
   Return a new method object, with *func* being any callable object and *self*
73
 
   the instance the method should be bound. *func* is is the function that will
 
73
   the instance the method should be bound. *func* is the function that will
74
74
   be called when the method is called. *self* must not be *NULL*.
75
75
 
76
76