Current Path : /opt/alt/python27/lib64/python2.7/lib2to3/fixes/ |
Current File : //opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_nonzero.pyo |
� ^ bc @ sI d Z d d l m Z d d l m Z m Z d e j f d � � YZ d S( s* Fixer for __nonzero__ -> __bool__ methods.i ( t fixer_base( t Namet symst FixNonzeroc B s e Z e Z d Z d � Z RS( s� classdef< 'class' any+ ':' suite< any* funcdef< 'def' name='__nonzero__' parameters< '(' NAME ')' > any+ > any* > > c C s0 | d } t d d | j �} | j | � d S( Nt nameu __bool__t prefix( R R t replace( t selft nodet resultsR t new( ( s>