GRAYBYTE WORDPRESS FILE MANAGER5309

Server IP : 198.54.121.189 / Your IP : 216.73.216.224
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python311/lib64/python3.11/lib2to3/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python311/lib64/python3.11/lib2to3//pygram.py
# Copyright 2006 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.

"""Export the Python grammar and symbols."""

# Python imports
import os

# Local imports
from .pgen2 import token
from .pgen2 import driver
from . import pytree

# The grammar file
_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), "Grammar.txt")
_PATTERN_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__),
                                     "PatternGrammar.txt")


class Symbols(object):

    def __init__(self, grammar):
        """Initializer.

        Creates an attribute for each grammar symbol (nonterminal),
        whose value is the symbol's type (an int >= 256).
        """
        for name, symbol in grammar.symbol2number.items():
            setattr(self, name, symbol)


python_grammar = driver.load_packaged_grammar("lib2to3", _GRAMMAR_FILE)

python_symbols = Symbols(python_grammar)

python_grammar_no_print_statement = python_grammar.copy()
del python_grammar_no_print_statement.keywords["print"]

python_grammar_no_print_and_exec_statement = python_grammar_no_print_statement.copy()
del python_grammar_no_print_and_exec_statement.keywords["exec"]

pattern_grammar = driver.load_packaged_grammar("lib2to3", _PATTERN_GRAMMAR_FILE)
pattern_symbols = Symbols(pattern_grammar)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 13 2025 08:37:02
root / linksafe
0755
__pycache__
--
May 13 2025 08:37:02
root / linksafe
0755
fixes
--
May 13 2025 08:37:02
root / linksafe
0755
pgen2
--
May 13 2025 08:37:02
root / linksafe
0755
Grammar.txt
8.492 KB
April 08 2025 14:15:29
root / linksafe
0644
Grammar3.11.12.final.0.pickle
14.954 KB
April 25 2025 15:36:38
root / linksafe
0644
PatternGrammar.txt
0.774 KB
April 08 2025 14:15:29
root / linksafe
0644
PatternGrammar3.11.12.final.0.pickle
1.196 KB
April 25 2025 15:36:38
root / linksafe
0644
__init__.py
0.152 KB
April 08 2025 14:15:29
root / linksafe
0644
__main__.py
0.065 KB
April 08 2025 14:15:29
root / linksafe
0644
btm_matcher.py
6.468 KB
April 08 2025 14:15:29
root / linksafe
0644
btm_utils.py
9.712 KB
April 08 2025 14:15:29
root / linksafe
0644
fixer_base.py
6.533 KB
April 08 2025 14:15:29
root / linksafe
0644
fixer_util.py
14.85 KB
April 08 2025 14:15:29
root / linksafe
0644
main.py
11.576 KB
April 08 2025 14:15:29
root / linksafe
0644
patcomp.py
6.889 KB
April 08 2025 14:15:29
root / linksafe
0644
pygram.py
1.274 KB
April 08 2025 14:15:29
root / linksafe
0644
pytree.py
27.318 KB
April 08 2025 14:15:29
root / linksafe
0644
refactor.py
26.862 KB
April 08 2025 14:15:29
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF