SILENT KILLERPanel

Current Path: > > usr > 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: //usr/lib64/python2.7//lib2to3//

NameTypeSizeLast ModifiedActions
fixes Directory - -
pgen2 Directory - -
Grammar.txt File 7094 bytes April 10 2024 04:58:35.
Grammar2.7.18.final.0.pickle File 40486 bytes April 10 2024 04:58:41.
PatternGrammar.txt File 793 bytes April 10 2024 04:58:35.
PatternGrammar2.7.18.final.0.pickle File 2799 bytes April 10 2024 04:58:41.
__init__.py File 7 bytes April 10 2024 04:58:35.
__init__.pyc File 127 bytes April 10 2024 04:58:46.
__init__.pyo File 127 bytes April 10 2024 04:58:46.
__main__.py File 67 bytes April 10 2024 04:58:35.
__main__.pyc File 242 bytes April 10 2024 04:58:46.
__main__.pyo File 242 bytes April 10 2024 04:58:46.
btm_matcher.py File 6834 bytes April 10 2024 04:58:35.
btm_matcher.pyc File 5830 bytes April 10 2024 04:58:46.
btm_matcher.pyo File 5830 bytes April 10 2024 04:58:46.
btm_utils.py File 10012 bytes April 10 2024 04:58:35.
btm_utils.pyc File 7563 bytes April 10 2024 04:58:46.
btm_utils.pyo File 7563 bytes April 10 2024 04:58:46.
fixer_base.py File 6780 bytes April 10 2024 04:58:35.
fixer_base.pyc File 7186 bytes April 10 2024 04:58:46.
fixer_base.pyo File 7186 bytes April 10 2024 04:58:46.
fixer_util.py File 14597 bytes April 10 2024 04:58:35.
fixer_util.pyc File 14683 bytes April 10 2024 04:58:46.
fixer_util.pyo File 14683 bytes April 10 2024 04:58:46.
main.py File 11605 bytes April 10 2024 04:58:35.
main.pyc File 9831 bytes April 10 2024 04:58:46.
main.pyo File 9789 bytes April 10 2024 04:58:43.
patcomp.py File 7065 bytes April 10 2024 04:58:35.
patcomp.pyc File 6601 bytes April 10 2024 04:58:46.
patcomp.pyo File 6289 bytes April 10 2024 04:58:43.
pygram.py File 1158 bytes April 10 2024 04:58:35.
pygram.pyc File 1441 bytes April 10 2024 04:58:46.
pygram.pyo File 1441 bytes April 10 2024 04:58:46.
pytree.py File 29039 bytes April 10 2024 04:58:35.
pytree.pyc File 30303 bytes April 10 2024 04:58:46.
pytree.pyo File 29420 bytes April 10 2024 04:58:43.
refactor.py File 28026 bytes April 10 2024 04:58:35.
refactor.pyc File 23912 bytes April 10 2024 04:58:46.
refactor.pyo File 23870 bytes April 10 2024 04:58:43.

Reading File: //usr/lib64/python2.7//lib2to3///fixer_base.pyo

�
{fc@srdZddlZddlmZddlmZddlmZdefd��YZ	d	e	fd
��YZ
dS(s2Base class for fixers (optional, but recommended).i����Ni(tPatternCompiler(tpygram(tdoes_tree_importtBaseFixcBs�eZdZdZdZdZdZdZdZ	e
jd�Ze
�ZdZeZdZdZeZeZejZd�Zd�Zd�Zd�Zd�Zd	d
�Zd�Zdd�Z d
�Z!d�Z"d�Z#RS(sOptional base class for fixers.

    The subclass name must be FixFooBar where FooBar is the result of
    removing underscores and capitalizing the words of the fix name.
    For example, the class name for a fixer named 'has_key' should be
    FixHasKey.
    itposticCs ||_||_|j�dS(sInitializer.  Subclass may override.

        Args:
            options: a dict containing the options passed to RefactoringTool
            that could be used to customize the fixer through the command line.
            log: a list to append warnings and other messages to.
        N(toptionstlogtcompile_pattern(tselfRR((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyt__init__0s		cCsC|jdk	r?t�}|j|jdt�\|_|_ndS(s�Compiles self.PATTERN into self.pattern.

        Subclass may override if it doesn't want to use
        self.{pattern,PATTERN} in .match().
        t	with_treeN(tPATTERNtNoneRRtTruetpatterntpattern_tree(RtPC((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyR<s	cCs
||_dS(smSet the filename, and a logger derived from it.

        The main refactoring tool should call this.
        N(tfilename(RR((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytset_filenameGscCs&i|d6}|jj||�o%|S(sReturns match for a given parse tree node.

        Should return a true or false object (not necessarily a bool).
        It may return a non-empty dict of matching sub-nodes as
        returned by a matching pattern.

        Subclass may override.
        tnode(Rtmatch(RRtresults((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyRNs	
cCs
t��dS(s�Returns the transformation for a given parse tree node.

        Args:
          node: the root of the parse tree that matched the fixer.
          results: a dict mapping symbolic names to part of the match.

        Returns:
          None, or a node that is a modified copy of the
          argument node.  The node argument may also be modified in-place to
          effect the same change.

        Subclass *must* override.
        N(tNotImplementedError(RRR((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyt	transformZsuxxx_todo_changemecCsI|}x,||jkr4|t|jj��}q	W|jj|�|S(s�Return a string suitable for use as an identifier

        The new name is guaranteed not to conflict with other identifiers.
        (t
used_namestunicodetnumberstnexttadd(Rttemplatetname((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytnew_namejs
cCs@|jr,t|_|jjd|j�n|jj|�dS(Ns### In file %s ###(t	first_logtFalseRtappendR(Rtmessage((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytlog_messageus		cCsX|j�}|j�}d|_d}|j|||f�|rT|j|�ndS(sWarn the user that a given chunk of code is not valid Python 3,
        but that it cannot be converted automatically.

        First argument is the top-level node for the code in question.
        Optional second argument is why it can't be converted.
        usLine %d: could not convert: %sN(t
get_linenotclonetprefixR$(RRtreasontlinenot
for_outputtmsg((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytcannot_convert{s	cCs'|j�}|jd||f�dS(s�Used for warning the user about possible uncertainty in the
        translation.

        First argument is the top-level node for the code in question.
        Optional second argument is why it can't be converted.
        sLine %d: %sN(R%R$(RRR(R)((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytwarning�scCs8|j|_|j|�tjd�|_t|_dS(s�Some fixers need to maintain tree-wide state.
        This method is called once, at the start of tree fix-up.

        tree - the root node of the tree to be processed.
        filename - the name of the file the tree came from.
        iN(RRt	itertoolstcountRR
R (RttreeR((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyt
start_tree�s
cCsdS(s�Some fixers need to maintain tree-wide state.
        This method is called once, at the conclusion of tree fix-up.

        tree - the root node of the tree to be processed.
        filename - the name of the file the tree came from.
        N((RR0R((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytfinish_tree�sN($t__name__t
__module__t__doc__RRRRRRtloggerR.R/RtsetRtorderR!texplicitt	run_ordert_accept_typetkeep_line_ordert
BM_compatibleRtpython_symbolstsymsR	RRRRRR$R,R-R1R2(((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyRs6									
	tConditionalFixcBs&eZdZdZd�Zd�ZRS(s@ Base class for fixers which not execute if an import is found. cGs#tt|�j|�d|_dS(N(tsuperR@R1Rt_should_skip(Rtargs((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyR1�scCsa|jdk	r|jS|jjd�}|d}dj|d �}t|||�|_|jS(Nt.i����(RBRtskip_ontsplittjoinR(RRtpkgR((s*/usr/lib64/python2.7/lib2to3/fixer_base.pytshould_skip�s
N(R3R4R5RRER1RI(((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyR@�s	(R5R.tpatcompRtRt
fixer_utilRtobjectRR@(((s*/usr/lib64/python2.7/lib2to3/fixer_base.pyt<module>s�

SILENT KILLER Tool