/usr/lib64/python2.7/lib2to3/pgen2
NameSizeModeActions
conv.py96270644editdlrm
conv.pyc81890644editdlrm
conv.pyo70370644editdlrm
driver.py60410644editdlrm
driver.pyc64630644editdlrm
driver.pyo64000644editdlrm
grammar.py65940644editdlrm
grammar.pyc76840644editdlrm
grammar.pyo76840644editdlrm
literals.py16140644editdlrm
literals.pyc20180644editdlrm
literals.pyo17860644editdlrm
parse.py80530644editdlrm
parse.pyc72360644editdlrm
parse.pyo71970644editdlrm
pgen.py138260644editdlrm
pgen.pyc122380644editdlrm
pgen.pyo116250644editdlrm
token.py12560755editdlrm
token.pyc23030644editdlrm
token.pyo23030644editdlrm
tokenize.py192440644editdlrm
tokenize.pyc169710644editdlrm
tokenize.pyo168820644editdlrm
__init__.py1430644editdlrm
__init__.pyc1740644editdlrm
__init__.pyo1740644editdlrm
Edit: /usr/lib64/python2.7/lib2to3/pgen2/grammar.pyc (7684B)
ó {fc@s¨dZddlZddlZddlmZmZdefd„ƒYZd„ZdZ iZ xBe j ƒD]4Z e rle j ƒ\ZZeeeƒe et|dƒ)}t|jƒ}tj||dƒWdQXdS(s½Dump the grammar tables to a pickle file. dump() recursively changes all dict to OrderedDict, so the pickled file is not exactly the same as what was passed in to dump(). load() uses the pickled file to create the tables, but only changes OrderedDict to dict at the top level; it does not recursively change OrderedDict to dict. So, the loaded tables are different from the original tables that were passed to load() in that some of the OrderedDict (from the pickled file) are not changed back to dict. For parsing, this has no effect on performance because OrderedDict uses dict's __getitem__ with nothing in between. twbiN(topent_make_deterministict__dict__tpickletdump(R tfilenametftd((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyRXs cCs<t|dƒ}tj|ƒ}|jƒ|jj|ƒdS(s+Load the grammar tables from a pickle file.trbN(RRtloadtcloseRtupdate(R RRR((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyRis cCs|jjtj|ƒƒdS(s3Load the grammar tables from a pickle bytes object.N(RRRtloads(R tpkl((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyRpscCsf|jƒ}x-dD]%}t||t||ƒjƒƒqW|j|_|j|_|j|_|S(s# Copy the grammar. RRRR R R (RRRR R R (t __class__tsetattrtgetattrtcopyRRR (R tnewt dict_attr((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyR!ts  #   cCszddlm}dGH||jƒdGH||jƒdGH||jƒdGH||jƒdGH||jƒdG|jGHd S( s:Dump the grammar tables to standard output, for debugging.iÿÿÿÿ(tpprintts2ntn2sRRRR N(R$RRRRRR (R R$((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pytreports     ( t__name__t __module__t__doc__RRRRR!R'(((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyRs4    cCs…t|tƒr2tjtd„|jƒDƒƒƒSt|tƒr^g|D]}t|ƒ^qHSt|tƒrtd„|DƒƒS|S(Ncss'|]\}}|t|ƒfVqdS(N(R(t.0tktv((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pys ”scss|]}t|ƒVqdS(N(R(R+te((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pys ˜s( t isinstancetdictt collectionst OrderedDicttsortedt iteritemstlistRttuple(ttopR.((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyR‘ss ( LPAR ) RPAR [ LSQB ] RSQB : COLON , COMMA ; SEMI + PLUS - MINUS * STAR / SLASH | VBAR & AMPER < LESS > GREATER = EQUAL . DOT % PERCENT ` BACKQUOTE { LBRACE } RBRACE @ AT @= ATEQUAL == EQEQUAL != NOTEQUAL <> NOTEQUAL <= LESSEQUAL >= GREATEREQUAL ~ TILDE ^ CIRCUMFLEX << LEFTSHIFT >> RIGHTSHIFT ** DOUBLESTAR += PLUSEQUAL -= MINEQUAL *= STAREQUAL /= SLASHEQUAL %= PERCENTEQUAL &= AMPEREQUAL |= VBAREQUAL ^= CIRCUMFLEXEQUAL <<= LEFTSHIFTEQUAL >>= RIGHTSHIFTEQUAL **= DOUBLESTAREQUAL // DOUBLESLASH //= DOUBLESLASHEQUAL -> RARROW (R*R1RtRRtobjectRRt opmap_rawtopmapt splitlinestlinetsplittoptnameR (((s-/usr/lib64/python2.7/lib2to3/pgen2/grammar.pyt s  z =