Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/lib2to3/fixes/fix_apply.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@sodZddlmZddlmZddlmZddlmZmZm	Z	dej
fd��YZdS(	sIFixer for apply().

This converts apply(func, v, k) into (func)(*v, **k).i(tpytree(ttoken(t
fixer_base(tCalltCommatparenthesizetFixApplycBseZeZdZd�ZRS(s.
    power< 'apply'
        trailer<
            '('
            arglist<
                (not argument<NAME '=' any>) func=any ','
                (not argument<NAME '=' any>) args=any [','
                (not argument<NAME '=' any>) kwds=any] [',']
            >
            ')'
        >
    >
    c	CsJ|j}|d}|d}|jd�}|j}|j�}|jtj|jfkr�|j|jks�|j	djtj
kr�t|�}nd|_|j�}d|_|dk	r�|j�}d|_nt
jtjd�|g}|dk	r7|jt�t
jtj
d�|g�d|d_nt||d	|�S(
Ntfunctargstkwdsi�tu*u**u tprefix(tsymstgetRtclonettypeRtNAMEtatomtpowertchildrent
DOUBLESTARRtNoneRtLeaftSTARtextendRR(	tselftnodetresultsRRRR	Rt	l_newargs((s-/sys/lib/python2.7/lib2to3/fixes/fix_apply.pyt	transforms.	

			
(t__name__t
__module__tTruet
BM_compatibletPATTERNR(((s-/sys/lib/python2.7/lib2to3/fixes/fix_apply.pyRsN(t__doc__R
Rtpgen2RRt
fixer_utilRRRtBaseFixR(((s-/sys/lib/python2.7/lib2to3/fixes/fix_apply.pyt<module>s


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.