KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21571/root/usr/lib64/python2.4/compiler/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21571/root/usr/lib64/python2.4/compiler/syntax.pyo
mò
‚=5Dc@s<dZdklZlZdd„Zdfd„ƒYZdS(s8Check for errs in the AST.

The Python parser does not catch all syntax errors.  Others, like
assignments with invalid targets, are caught in the code generation
phase.

The compiler package catches some errors in the transformer module.
But it seems clearer to write checkers that use the AST to detect
errors.
(sastswalkcCs t|ƒ}t||ƒ|iS(N(tSyntaxErrorCheckertmultitvtwalkttreeterrors(RRR((t'/usr/lib64/python2.4/compiler/syntax.pytchecks
RcBs,tZdZed„Zd„Zd„ZRS(s+A visitor to find syntax errors in the AST.cCs||_d|_dS(s¸Create new visitor object.

        If optional argument multi is not None, then print messages
        for each error rather than raising a SyntaxError for the
        first.
        iN(RtselfR(RR((Rt__init__s	cCs\|id|_|idj	od|i|i|fGHntd||i|if‚dS(Nis	%s:%s: %ss
%s (%s:%s)(	RRRtNonetnodetfilenametlinenotmsgtSyntaxError(RRR((Rterror scCsx|iD]}q
WdS(N(Rtnodesttarget(RRR((RtvisitAssign's
(t__name__t
__module__t__doc__R
R	RR(((RRs
	N(RtcompilertastRR
RR(RRRR((Rt?
s

Anon7 - 2021