SILENT KILLERPanel

Current Path: > > opt > alt > python27 > lib64 > python2.7 > > lib2to3 >


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python27/lib64/python2.7//lib2to3/

NameTypeSizeLast ModifiedActions
fixes Directory - -
pgen2 Directory - -
Grammar.txt File 7094 bytes January 08 2025 10:43:36.
Grammar2.7.18.final.0.pickle File 40486 bytes January 08 2025 10:43:36.
PatternGrammar.txt File 793 bytes January 08 2025 10:43:35.
PatternGrammar2.7.18.final.0.pickle File 2799 bytes January 08 2025 10:43:35.
__init__.py File 7 bytes January 08 2025 10:43:35.
__init__.pyc File 140 bytes January 08 2025 10:43:36.
__init__.pyo File 140 bytes January 08 2025 10:43:36.
__main__.py File 67 bytes January 08 2025 10:43:36.
__main__.pyc File 255 bytes January 08 2025 10:43:35.
__main__.pyo File 255 bytes January 08 2025 10:43:35.
btm_matcher.py File 6834 bytes January 08 2025 10:43:36.
btm_matcher.pyc File 5973 bytes January 08 2025 10:43:36.
btm_matcher.pyo File 5973 bytes January 08 2025 10:43:36.
btm_utils.py File 10012 bytes January 08 2025 10:43:35.
btm_utils.pyc File 7732 bytes January 08 2025 10:43:36.
btm_utils.pyo File 7732 bytes January 08 2025 10:43:36.
fixer_base.py File 6780 bytes January 08 2025 10:43:36.
fixer_base.pyc File 7394 bytes January 08 2025 10:43:35.
fixer_base.pyo File 7394 bytes January 08 2025 10:43:35.
fixer_util.py File 14597 bytes January 08 2025 10:43:36.
fixer_util.pyc File 15125 bytes January 08 2025 10:43:36.
fixer_util.pyo File 15125 bytes January 08 2025 10:43:36.
main.py File 11605 bytes January 08 2025 10:43:35.
main.pyc File 9961 bytes January 08 2025 10:43:35.
main.pyo File 9919 bytes January 08 2025 10:43:36.
patcomp.py File 7065 bytes January 08 2025 10:43:35.
patcomp.pyc File 6757 bytes January 08 2025 10:43:35.
patcomp.pyo File 6445 bytes January 08 2025 10:43:36.
pygram.py File 1158 bytes January 08 2025 10:43:35.
pygram.pyc File 1480 bytes January 08 2025 10:43:36.
pygram.pyo File 1480 bytes January 08 2025 10:43:36.
pytree.py File 29039 bytes January 08 2025 10:43:35.
pytree.pyc File 31291 bytes January 08 2025 10:43:36.
pytree.pyo File 30408 bytes January 08 2025 10:43:36.
refactor.py File 28026 bytes January 08 2025 10:43:35.
refactor.pyc File 24445 bytes January 08 2025 10:43:36.
refactor.pyo File 24403 bytes January 08 2025 10:43:35.

Reading File: //opt/alt/python27/lib64/python2.7//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.iteritems():
            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"]

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

SILENT KILLER Tool