D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib64
/
python2.7
/
lib2to3
/
fixes
/
Filename :
fix_nonzero.pyc
back
Copy
� {fc @ 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( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_nonzero.pyt transform s ( t __name__t __module__t Truet BM_compatiblet PATTERNR ( ( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_nonzero.pyR s N( t __doc__t R t fixer_utilR R t BaseFixR ( ( ( s1 /usr/lib64/python2.7/lib2to3/fixes/fix_nonzero.pyt <module> s