Predictably enough, if you've read the previous two sections, objects
of this class look rather like instance methods.
- InstanceMethod ([meth])
-
If meth is supplied, initialize the object with that, otherwise
guess some defaults. As I said before, creating things from scratch
isn't really supported.
- init_defaults ()
-
Set all the fields to more or less arbitrarily guessed default values.
- init_meth (meth)
-
Initialize the object's field from meth.
- make_instance_method ()
-
Make a new method to reflect the state of the new object.
- im_self
-
im_self is the class instance object, or None if
the method is unbound.
- im_func
-
im_func is a Function object.
- im_class
-
im_class is the class that defined the method (which may be a
base class of the class of which im_self is an
instance).
Send comments to mwh@python.net