Ñò
$8Zc           @   s^   d  Z  d d k l Z d d k l Z h d d 6d d 6d d	 6Z d
 e i f d „  ƒ  YZ d S(   s;   Fix bound method attributes (method.im_? -> method.__?__).
i   (   t
   fixer_base(   t   Namet   __func__t   im_funct   __self__t   im_selfs   __self__.__class__t   im_classt   FixMethodattrsc           B   s   e  Z d  Z d „  Z RS(   sU   
    power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
    c         C   sA   | d d } t  t | i ƒ } | i t | d | i ƒƒ d  S(   Nt   attri    t   prefix(   t   unicodet   MAPt   valuet   replaceR   R	   (   t   selft   nodet   resultsR   t   new(    (    s3   /usr/lib/python2.6/lib2to3/fixes/fix_methodattrs.pyt	   transform   s    (   t   __name__t
   __module__t   PATTERNR   (    (    (    s3   /usr/lib/python2.6/lib2to3/fixes/fix_methodattrs.pyR      s   N(   t   __doc__t    R    t
   fixer_utilR   R   t   BaseFixR   (    (    (    s3   /usr/lib/python2.6/lib2to3/fixes/fix_methodattrs.pyt   <module>   s   
