ó
è¾bc           @   sS   d  Z  d d l m Z d d l m Z d d l m Z d e j f d „  ƒ  YZ d S(   s   Fixer that turns <> into !=.i   (   t   pytree(   t   token(   t
   fixer_baset   FixNec           B   s#   e  Z e j Z d  „  Z d „  Z RS(   c         C   s   | j  d k S(   Nu   <>(   t   value(   t   selft   node(    (    s*   /usr/lib/python2.7/lib2to3/fixes/fix_ne.pyt   match   s    c         C   s"   t  j t j d d | j ƒ} | S(   Nu   !=t   prefix(   R    t   LeafR   t   NOTEQUALR   (   R   R   t   resultst   new(    (    s*   /usr/lib/python2.7/lib2to3/fixes/fix_ne.pyt	   transform   s    (   t   __name__t
   __module__R   R
   t   _accept_typeR   R   (    (    (    s*   /usr/lib/python2.7/lib2to3/fixes/fix_ne.pyR      s   		N(   t   __doc__t    R    t   pgen2R   R   t   BaseFixR   (    (    (    s*   /usr/lib/python2.7/lib2to3/fixes/fix_ne.pyt   <module>   s   