???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ó
V~gc           @   s	  d  Z  d d l m Z d d l m Z d d l m Z i d d 6d d 6d	 d
 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d  6d! d" 6d# d$ 6d% d& 6d	 d' 6d( d) 6d* d+ 6Z g  e D] Z d, e ^ qÖ Z	 d- e j
 f d.     YZ d/ S(0   sÆ  Fixer for removing uses of the types module.

These work for only the known names in the types module.  The forms above
can include types. or not.  ie, It is assumed the module is imported either as:

    import types
    from types import ... # either * or specific types

The import statements are not modified.

There should be another fixer that handles at least the following constants:

   type([]) -> list
   type(()) -> tuple
   type('') -> str

i   (   t   token(   t
   fixer_base(   t   Namet   boolt   BooleanTypet
   memoryviewt
   BufferTypet   typet	   ClassTypet   complext   ComplexTypet   dictt   DictTypet   DictionaryTypes   type(Ellipsis)t   EllipsisTypet   floatt	   FloatTypet   intt   IntTypet   listt   ListTypet   LongTypet   objectt
   ObjectTypes
   type(None)t   NoneTypes   type(NotImplemented)t   NotImplementedTypet   slicet	   SliceTypet   bytest
   StringTypes   (str,)t   StringTypest   tuplet	   TupleTypet   TypeTypet   strt   UnicodeTypet   ranget
   XRangeTypes)   power< 'types' trailer< '.' name='%s' > >t   FixTypesc           B   s&   e  Z e Z d  j e  Z d   Z RS(   t   |c         C   s9   t  t j | d j   } | r5 t | d | j Sd  S(   Nt   namet   prefix(   t   unicodet   _TYPE_MAPPINGt   gett   valueR   R)   t   None(   t   selft   nodet   resultst	   new_value(    (    s<   /opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_types.pyt	   transform:   s    (   t   __name__t
   __module__t   Truet   BM_compatiblet   joint   _patst   PATTERNR3   (    (    (    s<   /opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_types.pyR&   6   s   N(   t   __doc__t   pgen2R    t    R   t
   fixer_utilR   R+   t   tR9   t   BaseFixR&   (    (    (    s<   /opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_types.pyt   <module>   s6   
