Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
idlelib.rpc.MethodProxy Class Reference
Inheritance diagram for idlelib.rpc.MethodProxy:
Inheritance graph
[legend]
Collaboration diagram for idlelib.rpc.MethodProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 sockio
 oid
 name
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Definition at line 585 of file rpc.py.


Constructor & Destructor Documentation

def idlelib.rpc.MethodProxy.__init__ (   self,
  sockio,
  oid,
  name 
)

Definition at line 587 of file rpc.py.

00587 
00588     def __init__(self, sockio, oid, name):
00589         self.sockio = sockio
00590         self.oid = oid
00591         self.name = name

Here is the caller graph for this function:


Member Function Documentation

def idlelib.rpc.MethodProxy.__call__ (   self,
  args,
  kwargs 
)

Definition at line 592 of file rpc.py.

00592 
00593     def __call__(self, *args, **kwargs):
00594         value = self.sockio.remotecall(self.oid, self.name, args, kwargs)
00595         return value
00596 
00597 
00598 # XXX KBK 09Sep03  We need a proper unit test for this module.  Previously
00599 #                  existing test code was removed at Rev 1.27 (r34098).

Member Data Documentation

Definition at line 590 of file rpc.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 589 of file rpc.py.

Definition at line 588 of file rpc.py.


The documentation for this class was generated from the following file: