tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
Y\¬Qc@sIdZddlmZddlmZmZdejfd„ƒYZdS(s*Fixer for __nonzero__ -> __bool__ methods.i(t
fixer_base(tNametsymst
FixNonzerocBseZeZdZd„ZRS(sÓ
    classdef< 'class' any+ ':'
              suite< any*
                     funcdef< 'def' name='__nonzero__'
                              parameters< '(' NAME ')' > any+ >
                     any* > >
    cCs0|d}tdd|jƒ}|j|ƒdS(Ntnameu__bool__tprefix(RRtreplace(tselftnodetresultsRtnew((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_nonzero.pyt    transforms
(t__name__t
__module__tTruet BM_compatibletPATTERNR (((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_nonzero.pyRsN(t__doc__tRt
fixer_utilRRtBaseFixR(((sa/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_nonzero.pyt<module>s