GRAYBYTE WORDPRESS FILE MANAGER4205

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
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/python38/lib64/python3.8/lib2to3/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python38/lib64/python3.8/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
..
--
October 25 2024 08:42:23
root / linksafe
0755
__pycache__
--
October 25 2024 08:42:23
root / linksafe
0755
fixes
--
October 25 2024 08:42:23
root / linksafe
0755
pgen2
--
October 25 2024 08:42:23
root / linksafe
0755
Grammar.txt
8.473 KB
September 06 2024 20:41:55
root / linksafe
0644
Grammar3.8.20.final.0.pickle
14.95 KB
September 23 2024 11:26:05
root / linksafe
0644
PatternGrammar.txt
0.774 KB
September 06 2024 20:41:55
root / linksafe
0644
PatternGrammar3.8.20.final.0.pickle
1.196 KB
September 23 2024 11:26:05
root / linksafe
0644
__init__.py
0.007 KB
September 06 2024 20:41:55
root / linksafe
0644
__main__.py
0.065 KB
September 06 2024 20:41:55
root / linksafe
0644
btm_matcher.py
6.468 KB
September 06 2024 20:41:55
root / linksafe
0644
btm_utils.py
9.732 KB
September 06 2024 20:41:55
root / linksafe
0644
fixer_base.py
6.533 KB
September 06 2024 20:41:55
root / linksafe
0644
fixer_util.py
14.851 KB
September 06 2024 20:41:55
root / linksafe
0644
main.py
11.38 KB
September 06 2024 20:41:55
root / linksafe
0644
patcomp.py
6.889 KB
September 06 2024 20:41:55
root / linksafe
0644
pygram.py
1.274 KB
September 06 2024 20:41:55
root / linksafe
0644
pytree.py
27.305 KB
September 06 2024 20:41:55
root / linksafe
0644
refactor.py
26.757 KB
September 06 2024 20:41:55
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF