Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/lib2to3/pygram.pyc

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


��Qc@s�dZddlZddlmZddlmZddlmZejjejj	e
�d�Zejjejj	e
�d�Zd	e
fd
��YZeje�Zee�Zej�Zejd=eje�Zee�ZdS(s&Export the Python grammar and symbols.i�Ni(ttoken(tdriver(tpytreesGrammar.txtsPatternGrammar.txttSymbolscBseZd�ZRS(cCs4x-|jj�D]\}}t|||�qWdS(s�Initializer.

        Creates an attribute for each grammar symbol (nonterminal),
        whose value is the symbol's type (an int >= 256).
        N(t
symbol2numbert	iteritemstsetattr(tselftgrammartnametsymbol((s$/sys/lib/python2.7/lib2to3/pygram.pyt__init__s(t__name__t
__module__R(((s$/sys/lib/python2.7/lib2to3/pygram.pyRstprint(t__doc__tostpgen2RRtRtpathtjointdirnamet__file__t
_GRAMMAR_FILEt_PATTERN_GRAMMAR_FILEtobjectRtload_grammartpython_grammartpython_symbolstcopyt!python_grammar_no_print_statementtkeywordstpattern_grammartpattern_symbols(((s$/sys/lib/python2.7/lib2to3/pygram.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.