Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /snap/core20/2599/lib/python3.8/lib2to3/__pycache__/ |
Upload File : |
U �A�` � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ej�ej� e �d�Zej�ej� e �d�ZG d d � d e �Ze�de�Zee�Ze�� Zejd= e�� Zejd = e�de�Zee�ZdS )z&Export the Python grammar and symbols.� N� )�token)�driver)�pytreezGrammar.txtzPatternGrammar.txtc @ s e Zd Zdd� ZdS )�Symbolsc C s$ |j �� D ]\}}t| ||� q dS )z�Initializer. Creates an attribute for each grammar symbol (nonterminal), whose value is the symbol's type (an int >= 256). N)Z symbol2number�items�setattr)�selfZgrammar�nameZsymbol� r �$/usr/lib/python3.8/lib2to3/pygram.py�__init__ s zSymbols.__init__N)�__name__� __module__�__qualname__r r r r r r s r Zlib2to3�print�exec)�__doc__�osZpgen2r r � r �path�join�dirname�__file__Z _GRAMMAR_FILEZ_PATTERN_GRAMMAR_FILE�objectr Zload_packaged_grammarZpython_grammarZpython_symbols�copyZ!python_grammar_no_print_statement�keywordsZ*python_grammar_no_print_and_exec_statementZpattern_grammarZpattern_symbolsr r r r �<module> s"