Ρς
XΑΕGc           @   s   d  e  f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d	     YZ d
 Z d Z d Z d Z	 d Z
 d Z d S(   t   Policyc           B   s2   e  Z d  Z d   Z d   Z d   Z d   Z RS(   s4   Represents one of the call policies of boost.python.c         C   s$   t  |   t j o t d  n d  S(   Ns,   Can't create an instance of the class Policy(   t   typeR    t   RuntimeError(   t   self(    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyt   __init__   s    c         C   s   d S(   sF   Returns the string corresponding to a instancialization of the policy.N(    (   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyt   Code   s    c         C   s*   |  i  d  j	 o d |  i  i   Sd Sd  S(   Ns   , %s >s    >(   t   nextt   NoneR   (   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyt   _next   s    c         C   s5   y |  i    | i    j SWn t j
 o t SXd  S(   N(   R   t   AttributeErrort   False(   R   t   other(    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyt   __eq__   s    (   t   __name__t
   __module__t   __doc__R   R   R   R   (    (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR       s
   			t   return_internal_referencec           B   s&   e  Z d  Z d d d  Z d   Z RS(   s/   Ties the return value to one of the parameters.i   c         C   s   | |  _  | |  _ d S(   s~   
        param is the position of the parameter, or None for "self".
        next indicates the next policy, or None.
        N(   t   paramR   (   R   R   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   '   s    	c         C   s!   d |  i  } | |  i   7} | S(   Ns   return_internal_reference< %i(   R   R   (   R   t   c(    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   0   s    N(   R   R   R   R   R   R   (    (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   $   s   	t   with_custodian_and_wardc           B   s#   e  Z d  Z d d  Z d   Z RS(   s-   Ties lifetime of two arguments of a function.c         C   s   | |  _  | |  _ | |  _ d  S(   N(   t	   custodiant   wardR   (   R   R   R   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   :   s    		c         C   s*   d |  i  |  i f } | |  i   7} | S(   Ns   with_custodian_and_ward< %i, %i(   R   R   R   (   R   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   ?   s    N(   R   R   R   R   R   R   (    (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   7   s   t   return_value_policyc           B   s#   e  Z d  Z d d  Z d   Z RS(   s    Policy to convert return values.c         C   s   | |  _  | |  _ d  S(   N(   t   whichR   (   R   R   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   I   s    	c         C   s!   d |  i  } | |  i   7} | S(   Ns   return_value_policy< %s(   R   R   (   R   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   N   s    N(   R   R   R   R   R   R   (    (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   F   s   t   return_selfc           B   s   e  Z d    Z RS(   c         C   s   d S(   Ns   return_self<>(    (   R   (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   U   s    (   R   R   R   (    (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyR   S   s   t   reference_existing_objectt   copy_const_referencet   copy_non_const_referencet   manage_new_objectt   return_opaque_pointert   return_by_valueN(   t   objectR    R   R   R   R   R   R   R   R   R   R   (    (    (    s.   /usr/lib/pymodules/python2.6/Pyste/policies.pyt   <module>   s   