mς
­fIc           @   s<   d  k  Z  d   Z d f  d     YZ d f  d     YZ d  S(   Nc         C   s)   t  |   } t |  } | t i | <| S(   N(   t   WrappedObjectTreeItemt   itemt   wrappert   idt   oidt   rpct   objecttable(   R   R   R   (    (    t8   /mit/python/lib/python2.4/idlelib/RemoteObjectBrowser.pyt   remote_object_tree_item   s    R    c           B   s#   t  Z d   Z d   Z d   Z RS(   Nc         C   s   | |  _ d  S(   N(   R   t   selft   _WrappedObjectTreeItem__item(   R	   R   (    (    R   t   __init__   s    c         C   s   t  |  i |  } | S(   N(   t   getattrR	   R
   t   namet   value(   R	   R   R   (    (    R   t   __getattr__   s    c         C   s   |  i i   } t t |  S(   N(   R	   R
   t   _GetSubListt   listt   mapR   (   R	   R   (    (    R   R      s    (   t   __name__t
   __module__R   R   R   (    (    (    R   R    	   s   		t   StubObjectTreeItemc           B   s#   t  Z d   Z d   Z d   Z RS(   Nc         C   s   | |  _  | |  _ d  S(   N(   t   sockioR	   R   (   R	   R   R   (    (    R   R      s    	c         C   s   t  i |  i |  i |  } | S(   N(   R   t   MethodProxyR	   R   R   R   R   (   R	   R   R   (    (    R   R      s    c         C   sI   |  i i |  i d f  h   } g  } | D] } | t |  i |  q) ~ S(   NR   (   R	   R   t
   remotecallR   R   t   _[1]R   (   R	   R   R   R   (    (    R   R   "   s    (   R   R   R   R   R   (    (    (    R   R      s   		(   R   R   R    R   (   R   R   R    R   (    (    R   t   ?   s   		