Module types :: Class instancemethod
[show private | hide private]
[frames | no frames]

Type instancemethod

object --+
         |
        instancemethod


instancemethod(function, instance, class)

Create an instance method object.
Method Summary
  __call__(x, ...)
x.__call__(...) <==> x(...)
  __cmp__(x, y)
x.__cmp__(y) <==> cmp(x,y)
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __get__(descr, obj, type)
descr.__get__(obj[, type]) -> value
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
member_descriptor im_class = <member 'im_class' of 'instancemethod' object...
member_descriptor im_func = <member 'im_func' of 'instancemethod' objects>
member_descriptor im_self = <member 'im_self' of 'instancemethod' objects>

Method Details

__call__(x, ...)
(Call operator)

x.__call__(...) <==> x(...)
Returns:
x(...)

__cmp__(x, y)
(Comparison operator)

x.__cmp__(y) <==> cmp(x,y)
Returns:
cmp(x,y)

__delattr__(...)

x.__delattr__('name') <==> del x.name
Overrides:
__builtin__.object.__delattr__

__get__(descr, obj, type=...)

descr.__get__(obj[, type]) -> value
Returns:
value

__getattribute__(...)

x.__getattribute__('name') <==> x.name
Overrides:
__builtin__.object.__getattribute__

__hash__(x)
(Hashing function)

x.__hash__() <==> hash(x)
Returns:
hash(x)
Overrides:
__builtin__.object.__hash__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
__builtin__.object.__new__

__repr__(x)
(Representation operator)

x.__repr__() <==> repr(x)
Returns:
repr(x)
Overrides:
__builtin__.object.__repr__

__setattr__(...)

x.__setattr__('name', value) <==> x.name = value
Overrides:
__builtin__.object.__setattr__

Class Variable Details

im_class

Type:
member_descriptor
Value:
<member 'im_class' of 'instancemethod' objects>                        

im_func

Type:
member_descriptor
Value:
<member 'im_func' of 'instancemethod' objects>                         

im_self

Type:
member_descriptor
Value:
<member 'im_self' of 'instancemethod' objects>                         

Generated by Epydoc 2.1 on Mon Dec 18 15:25:58 2006 http://epydoc.sf.net