Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/alt/python39/lib64/python3.9/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python39/lib64/python3.9/__pycache__/difflib.cpython-39.pyc
a

XC?hkE�@s0dZgd�ZddlmZddlmZddlm	Z	edd�Z
dd	�ZGd
d�d�Zd:dd�Z
dd�ZGdd�d�ZddlZe�d�jfdd�Zd;dd�Zdd�Zd<dd �Zd!d"�Zd=d#d$�Zd%d&�Zd>d)d*�Zdefd+d,�Zddefd-d.�Zd/Zd0Zd1Zd2Z Gd3d4�d4e!�Z"[d5d6�Z#d7d8�Z$e%d9k�r,e$�dS)?ae
Module difflib -- helpers for computing deltas between objects.

Function get_close_matches(word, possibilities, n=3, cutoff=0.6):
    Use SequenceMatcher to return list of the best "good enough" matches.

Function context_diff(a, b):
    For two lists of strings, return a delta in context diff format.

Function ndiff(a, b):
    Return a delta: the difference between `a` and `b` (lists of strings).

Function restore(delta, which):
    Return one of the two sequences that generated an ndiff delta.

Function unified_diff(a, b):
    For two lists of strings, return a delta in unified diff format.

Class SequenceMatcher:
    A flexible class for comparing pairs of sequences of any type.

Class Differ:
    For producing human-readable deltas from sequences of lines of text.

Class HtmlDiff:
    For producing HTML side by side comparison with change highlights.
)�get_close_matches�ndiff�restore�SequenceMatcher�Differ�IS_CHARACTER_JUNK�IS_LINE_JUNK�context_diff�unified_diff�
diff_bytes�HtmlDiff�Match�)�nlargest)�
namedtuple)�GenericAliasrza b sizecCs|rd||SdS)Ng@��?�)�matches�lengthrr�,/opt/alt/python39/lib64/python3.9/difflib.py�_calculate_ratio'src@s~eZdZdZddd�Zdd�Zd	d
�Zdd�Zd
d�Zd dd�Z	dd�Z
dd�Zd!dd�Zdd�Z
dd�Zdd�Zee�ZdS)"rao

    SequenceMatcher is a flexible class for comparing pairs of sequences of
    any type, so long as the sequence elements are hashable.  The basic
    algorithm predates, and is a little fancier than, an algorithm
    published in the late 1980's by Ratcliff and Obershelp under the
    hyperbolic name "gestalt pattern matching".  The basic idea is to find
    the longest contiguous matching subsequence that contains no "junk"
    elements (R-O doesn't address junk).  The same idea is then applied
    recursively to the pieces of the sequences to the left and to the right
    of the matching subsequence.  This does not yield minimal edit
    sequences, but does tend to yield matches that "look right" to people.

    SequenceMatcher tries to compute a "human-friendly diff" between two
    sequences.  Unlike e.g. UNIX(tm) diff, the fundamental notion is the
    longest *contiguous* & junk-free matching subsequence.  That's what
    catches peoples' eyes.  The Windows(tm) windiff has another interesting
    notion, pairing up elements that appear uniquely in each sequence.
    That, and the method here, appear to yield more intuitive difference
    reports than does diff.  This method appears to be the least vulnerable
    to syncing up on blocks of "junk lines", though (like blank lines in
    ordinary text files, or maybe "<P>" lines in HTML files).  That may be
    because this is the only method of the 3 that has a *concept* of
    "junk" <wink>.

    Example, comparing two strings, and considering blanks to be "junk":

    >>> s = SequenceMatcher(lambda x: x == " ",
    ...                     "private Thread currentThread;",
    ...                     "private volatile Thread currentThread;")
    >>>

    .ratio() returns a float in [0, 1], measuring the "similarity" of the
    sequences.  As a rule of thumb, a .ratio() value over 0.6 means the
    sequences are close matches:

    >>> print(round(s.ratio(), 3))
    0.866
    >>>

    If you're only interested in where the sequences match,
    .get_matching_blocks() is handy:

    >>> for block in s.get_matching_blocks():
    ...     print("a[%d] and b[%d] match for %d elements" % block)
    a[0] and b[0] match for 8 elements
    a[8] and b[17] match for 21 elements
    a[29] and b[38] match for 0 elements

    Note that the last tuple returned by .get_matching_blocks() is always a
    dummy, (len(a), len(b), 0), and this is the only case in which the last
    tuple element (number of elements matched) is 0.

    If you want to know how to change the first sequence into the second,
    use .get_opcodes():

    >>> for opcode in s.get_opcodes():
    ...     print("%6s a[%d:%d] b[%d:%d]" % opcode)
     equal a[0:8] b[0:8]
    insert a[8:8] b[8:17]
     equal a[8:29] b[17:38]

    See the Differ class for a fancy human-friendly file differencer, which
    uses SequenceMatcher both to compare sequences of lines, and to compare
    sequences of characters within similar (near-matching) lines.

    See also function get_close_matches() in this module, which shows how
    simple code building on SequenceMatcher can be used to do useful work.

    Timing:  Basic R-O is cubic time worst case and quadratic time expected
    case.  SequenceMatcher is quadratic time for the worst case and has
    expected-case behavior dependent in a complicated way on how many
    elements the sequences have in common; best case time is linear.
    N�TcCs(||_d|_|_||_|�||�dS)a!Construct a SequenceMatcher.

        Optional arg isjunk is None (the default), or a one-argument
        function that takes a sequence element and returns true iff the
        element is junk.  None is equivalent to passing "lambda x: 0", i.e.
        no elements are considered to be junk.  For example, pass
            lambda x: x in " \t"
        if you're comparing lines as sequences of characters, and don't
        want to synch up on blanks or hard tabs.

        Optional arg a is the first of two sequences to be compared.  By
        default, an empty string.  The elements of a must be hashable.  See
        also .set_seqs() and .set_seq1().

        Optional arg b is the second of two sequences to be compared.  By
        default, an empty string.  The elements of b must be hashable. See
        also .set_seqs() and .set_seq2().

        Optional arg autojunk should be set to False to disable the
        "automatic junk heuristic" that treats popular elements as junk
        (see module documentation for more information).
        N)�isjunk�a�b�autojunk�set_seqs)�selfrrrrrrr�__init__xs;zSequenceMatcher.__init__cCs|�|�|�|�dS)z�Set the two sequences to be compared.

        >>> s = SequenceMatcher()
        >>> s.set_seqs("abcd", "bcde")
        >>> s.ratio()
        0.75
        N)�set_seq1�set_seq2)rrrrrrr�s	
zSequenceMatcher.set_seqscCs$||jurdS||_d|_|_dS)aMSet the first sequence to be compared.

        The second sequence to be compared is not changed.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.set_seq1("bcde")
        >>> s.ratio()
        1.0
        >>>

        SequenceMatcher computes and caches detailed information about the
        second sequence, so if you want to compare one sequence S against
        many sequences, use .set_seq2(S) once and call .set_seq1(x)
        repeatedly for each of the other sequences.

        See also set_seqs() and set_seq2().
        N)r�matching_blocks�opcodes)rrrrrr�s
zSequenceMatcher.set_seq1cCs2||jurdS||_d|_|_d|_|��dS)aMSet the second sequence to be compared.

        The first sequence to be compared is not changed.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.set_seq2("abcd")
        >>> s.ratio()
        1.0
        >>>

        SequenceMatcher computes and caches detailed information about the
        second sequence, so if you want to compare one sequence S against
        many sequences, use .set_seq2(S) once and call .set_seq1(x)
        repeatedly for each of the other sequences.

        See also set_seqs() and set_seq1().
        N)rr!r"�
fullbcount�_SequenceMatcher__chain_b)rrrrrr �s
zSequenceMatcher.set_seq2cCs�|j}i|_}t|�D]\}}|�|g�}|�|�qt�|_}|j}|r~|��D]}||�rV|�	|�qV|D]
}||=qrt�|_
}t|�}	|jr�|	dkr�|	dd}
|�
�D]\}}t|�|
kr�|�	|�q�|D]
}||=q�dS)N���d�)r�b2j�	enumerate�
setdefault�append�set�bjunkr�keys�addZbpopular�lenr�items)rrr(�i�elt�indicesZjunkrZpopular�nZntestZidxsrrrZ	__chain_b
s,
zSequenceMatcher.__chain_br
cCsT|j|j|j|jjf\}}}}|dur.t|�}|dur>t|�}||d}	}
}i}g}
t||�D]�}|j}i}|�|||
�D]\}||kr�q~||kr�q�||dd�d}||<||kr~||d||d|}	}
}q~|}q`|	|k�r@|
|k�r@|||
d��s@||	d||
dk�r@|	d|
d|d}	}
}q�|	||k�r�|
||k�r�|||
|��s�||	|||
|k�r�|d7}�q@|	|k�r�|
|k�r�|||
d��r�||	d||
dk�r�|	d|
d|d}	}
}�q�|	||k�rH|
||k�rH|||
|��rH||	|||
|k�rH|d}�q�t|	|
|�S)aAFind longest matching block in a[alo:ahi] and b[blo:bhi].

        By default it will find the longest match in the entirety of a and b.

        If isjunk is not defined:

        Return (i,j,k) such that a[i:i+k] is equal to b[j:j+k], where
            alo <= i <= i+k <= ahi
            blo <= j <= j+k <= bhi
        and for all (i',j',k') meeting those conditions,
            k >= k'
            i <= i'
            and if i == i', j <= j'

        In other words, of all maximal matching blocks, return one that
        starts earliest in a, and of all those maximal matching blocks that
        start earliest in a, return the one that starts earliest in b.

        >>> s = SequenceMatcher(None, " abcd", "abcd abcd")
        >>> s.find_longest_match(0, 5, 0, 9)
        Match(a=0, b=4, size=5)

        If isjunk is defined, first the longest matching block is
        determined as above, but with the additional restriction that no
        junk element appears in the block.  Then that block is extended as
        far as possible by matching (only) junk elements on both sides.  So
        the resulting block never matches on junk except as identical junk
        happens to be adjacent to an "interesting" match.

        Here's the same example as before, but considering blanks to be
        junk.  That prevents " abcd" from matching the " abcd" at the tail
        end of the second sequence directly.  Instead only the "abcd" can
        match, and matches the leftmost "abcd" in the second sequence:

        >>> s = SequenceMatcher(lambda x: x==" ", " abcd", "abcd abcd")
        >>> s.find_longest_match(0, 5, 0, 9)
        Match(a=1, b=0, size=4)

        If no blocks match, return (alo, blo, 0).

        >>> s = SequenceMatcher(None, "ab", "c")
        >>> s.find_longest_match(0, 2, 0, 1)
        Match(a=0, b=0, size=0)
        Nr
r')	rrr(r-�__contains__r0�range�getr)r�alo�ahi�blo�bhirrr(ZisbjunkZbestiZbestjZbestsizeZj2lenZnothingr2Zj2lengetZnewj2len�j�krrr�find_longest_match1sZ:"����	�� ��z"SequenceMatcher.find_longest_matchcCs||jdur|jSt|j�t|j�}}d|d|fg}g}|r�|��\}}}}|�||||�\}	}
}}|r8|�|�||	kr�||
kr�|�||	||
f�|	||kr8|
||kr8|�|	|||
||f�q8|��d}
}}g}|D]V\}}}|
||k�r|||k�r||7}q�|�r,|�|
||f�|||}
}}q�|�rT|�|
||f�|�||df�tt	t
j|��|_|jS)aReturn list of triples describing matching subsequences.

        Each triple is of the form (i, j, n), and means that
        a[i:i+n] == b[j:j+n].  The triples are monotonically increasing in
        i and in j.  New in Python 2.5, it's also guaranteed that if
        (i, j, n) and (i', j', n') are adjacent triples in the list, and
        the second is not the last triple in the list, then i+n != i' or
        j+n != j'.  IOW, adjacent triples never describe adjacent equal
        blocks.

        The last triple is a dummy, (len(a), len(b), 0), and is the only
        triple with n==0.

        >>> s = SequenceMatcher(None, "abxcd", "abcd")
        >>> list(s.get_matching_blocks())
        [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)]
        Nr
)r!r0rr�popr?r+�sort�list�mapr�_make)r�la�lbZqueuer!r9r:r;r<r2r=r>�x�i1�j1Zk1Znon_adjacent�i2�j2Zk2rrr�get_matching_blocks�s8


z#SequenceMatcher.get_matching_blockscCs�|jdur|jSd}}g|_}|��D]�\}}}d}||krN||krNd}n||kr\d}n||krhd}|r�|�|||||f�||||}}|r*|�d||||f�q*|S)a[Return list of 5-tuples describing how to turn a into b.

        Each tuple is of the form (tag, i1, i2, j1, j2).  The first tuple
        has i1 == j1 == 0, and remaining tuples have i1 == the i2 from the
        tuple preceding it, and likewise for j1 == the previous j2.

        The tags are strings, with these meanings:

        'replace':  a[i1:i2] should be replaced by b[j1:j2]
        'delete':   a[i1:i2] should be deleted.
                    Note that j1==j2 in this case.
        'insert':   b[j1:j2] should be inserted at a[i1:i1].
                    Note that i1==i2 in this case.
        'equal':    a[i1:i2] == b[j1:j2]

        >>> a = "qabxcd"
        >>> b = "abycdf"
        >>> s = SequenceMatcher(None, a, b)
        >>> for tag, i1, i2, j1, j2 in s.get_opcodes():
        ...    print(("%7s a[%d:%d] (%s) b[%d:%d] (%s)" %
        ...           (tag, i1, i2, a[i1:i2], j1, j2, b[j1:j2])))
         delete a[0:1] (q) b[0:0] ()
          equal a[1:3] (ab) b[0:2] (ab)
        replace a[3:4] (x) b[2:3] (y)
          equal a[4:6] (cd) b[3:5] (cd)
         insert a[6:6] () b[5:6] (f)
        Nr
r�replace�delete�insert�equal)r"rLr+)rr2r=Zanswer�ai�bj�size�tagrrr�get_opcodes�s$

zSequenceMatcher.get_opcodes�c
csn|��}|sdg}|dddkrZ|d\}}}}}|t|||�|t|||�|f|d<|dddkr�|d\}}}}}||t|||�|t|||�f|d<||}g}	|D]�\}}}}}|dk�r(|||k�r(|	�||t|||�|t|||�f�|	Vg}	t|||�t|||�}}|	�|||||f�q�|	�rjt|	�dk�rd|	dddk�sj|	VdS)a� Isolate change clusters by eliminating ranges with no changes.

        Return a generator of groups with up to n lines of context.
        Each group is in the same format as returned by get_opcodes().

        >>> from pprint import pprint
        >>> a = list(map(str, range(1,40)))
        >>> b = a[:]
        >>> b[8:8] = ['i']     # Make an insertion
        >>> b[20] += 'x'       # Make a replacement
        >>> b[23:28] = []      # Make a deletion
        >>> b[30] += 'y'       # Make another replacement
        >>> pprint(list(SequenceMatcher(None,a,b).get_grouped_opcodes()))
        [[('equal', 5, 8, 5, 8), ('insert', 8, 8, 8, 9), ('equal', 8, 11, 9, 12)],
         [('equal', 16, 19, 17, 20),
          ('replace', 19, 20, 20, 21),
          ('equal', 20, 22, 21, 23),
          ('delete', 22, 27, 23, 23),
          ('equal', 27, 30, 23, 26)],
         [('equal', 31, 34, 27, 30),
          ('replace', 34, 35, 30, 31),
          ('equal', 35, 38, 31, 34)]]
        )rPr
r'r
r'r
rP���r'N)rU�max�minr+r0)
rr5ZcodesrTrHrJrIrKZnn�grouprrr�get_grouped_opcodes#s(&&(&z#SequenceMatcher.get_grouped_opcodescCs0tdd�|��D��}t|t|j�t|j��S)a�Return a measure of the sequences' similarity (float in [0,1]).

        Where T is the total number of elements in both sequences, and
        M is the number of matches, this is 2.0*M / T.
        Note that this is 1 if the sequences are identical, and 0 if
        they have nothing in common.

        .ratio() is expensive to compute if you haven't already computed
        .get_matching_blocks() or .get_opcodes(), in which case you may
        want to try .quick_ratio() or .real_quick_ratio() first to get an
        upper bound.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.quick_ratio()
        0.75
        >>> s.real_quick_ratio()
        1.0
        css|]}|dVqdS)rWNr)�.0Ztriplerrr�	<genexpr>k�z(SequenceMatcher.ratio.<locals>.<genexpr>)�sumrLrr0rr)rrrrr�ratioUszSequenceMatcher.ratiocCs�|jdur4i|_}|jD]}|�|d�d||<q|j}i}|jd}}|jD]>}||�rf||}n|�|d�}|d||<|dkrP|d}qPt|t|j�t|j��S)z�Return an upper bound on ratio() relatively quickly.

        This isn't defined beyond that it is an upper bound on .ratio(), and
        is faster to compute.
        Nr
r')r#rr8r6rrr0)rr#r3ZavailZavailhasrZnumbrrr�quick_rations






zSequenceMatcher.quick_ratiocCs*t|j�t|j�}}tt||�||�S)z�Return an upper bound on ratio() very quickly.

        This isn't defined beyond that it is an upper bound on .ratio(), and
        is faster to compute than either .ratio() or .quick_ratio().
        )r0rrrrY)rrErFrrr�real_quick_ratio�sz SequenceMatcher.real_quick_ratio)NrrT)r
Nr
N)rV)�__name__�
__module__�__qualname__�__doc__rrrr r$r?rLrUr[r`rarb�classmethodr�__class_getitem__rrrrr,sJ
@,'
tG7
2rrV�333333�?cCs�|dkstd|f��d|kr*dks:ntd|f��g}t�}|�|�|D]D}|�|�|��|krR|��|krR|��|krR|�|��|f�qRt||�}dd�|D�S)a�Use SequenceMatcher to return list of the best "good enough" matches.

    word is a sequence for which close matches are desired (typically a
    string).

    possibilities is a list of sequences against which to match word
    (typically a list of strings).

    Optional arg n (default 3) is the maximum number of close matches to
    return.  n must be > 0.

    Optional arg cutoff (default 0.6) is a float in [0, 1].  Possibilities
    that don't score at least that similar to word are ignored.

    The best (no more than n) matches among the possibilities are returned
    in a list, sorted by similarity score, most similar first.

    >>> get_close_matches("appel", ["ape", "apple", "peach", "puppy"])
    ['apple', 'ape']
    >>> import keyword as _keyword
    >>> get_close_matches("wheel", _keyword.kwlist)
    ['while']
    >>> get_close_matches("Apple", _keyword.kwlist)
    []
    >>> get_close_matches("accept", _keyword.kwlist)
    ['except']
    r
zn must be > 0: %rgrz cutoff must be in [0.0, 1.0]: %rcSsg|]\}}|�qSrr)r\ZscorerGrrr�
<listcomp>�r^z%get_close_matches.<locals>.<listcomp>)	�
ValueErrorrr rrbrar`r+�	_nlargest)ZwordZ
possibilitiesr5�cutoff�result�srGrrrr�s"


�
�
rcCsd�dd�t||�D��S)zAReplace whitespace with the original whitespace characters in `s`rcss*|]"\}}|dkr|��r|n|VqdS)� N)�isspace)r\�cZtag_crrrr]�s�z$_keep_original_ws.<locals>.<genexpr>)�join�zip)roZtag_srrr�_keep_original_ws�s
�ruc@sJeZdZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)ra�
    Differ is a class for comparing sequences of lines of text, and
    producing human-readable differences or deltas.  Differ uses
    SequenceMatcher both to compare sequences of lines, and to compare
    sequences of characters within similar (near-matching) lines.

    Each line of a Differ delta begins with a two-letter code:

        '- '    line unique to sequence 1
        '+ '    line unique to sequence 2
        '  '    line common to both sequences
        '? '    line not present in either input sequence

    Lines beginning with '? ' attempt to guide the eye to intraline
    differences, and were not present in either input sequence.  These lines
    can be confusing if the sequences contain tab characters.

    Note that Differ makes no claim to produce a *minimal* diff.  To the
    contrary, minimal diffs are often counter-intuitive, because they synch
    up anywhere possible, sometimes accidental matches 100 pages apart.
    Restricting synch points to contiguous matches preserves some notion of
    locality, at the occasional cost of producing a longer diff.

    Example: Comparing two texts.

    First we set up the texts, sequences of individual single-line strings
    ending with newlines (such sequences can also be obtained from the
    `readlines()` method of file-like objects):

    >>> text1 = '''  1. Beautiful is better than ugly.
    ...   2. Explicit is better than implicit.
    ...   3. Simple is better than complex.
    ...   4. Complex is better than complicated.
    ... '''.splitlines(keepends=True)
    >>> len(text1)
    4
    >>> text1[0][-1]
    '\n'
    >>> text2 = '''  1. Beautiful is better than ugly.
    ...   3.   Simple is better than complex.
    ...   4. Complicated is better than complex.
    ...   5. Flat is better than nested.
    ... '''.splitlines(keepends=True)

    Next we instantiate a Differ object:

    >>> d = Differ()

    Note that when instantiating a Differ object we may pass functions to
    filter out line and character 'junk'.  See Differ.__init__ for details.

    Finally, we compare the two:

    >>> result = list(d.compare(text1, text2))

    'result' is a list of strings, so let's pretty-print it:

    >>> from pprint import pprint as _pprint
    >>> _pprint(result)
    ['    1. Beautiful is better than ugly.\n',
     '-   2. Explicit is better than implicit.\n',
     '-   3. Simple is better than complex.\n',
     '+   3.   Simple is better than complex.\n',
     '?     ++\n',
     '-   4. Complex is better than complicated.\n',
     '?            ^                     ---- ^\n',
     '+   4. Complicated is better than complex.\n',
     '?           ++++ ^                      ^\n',
     '+   5. Flat is better than nested.\n']

    As a single multi-line string it looks like this:

    >>> print(''.join(result), end="")
        1. Beautiful is better than ugly.
    -   2. Explicit is better than implicit.
    -   3. Simple is better than complex.
    +   3.   Simple is better than complex.
    ?     ++
    -   4. Complex is better than complicated.
    ?            ^                     ---- ^
    +   4. Complicated is better than complex.
    ?           ++++ ^                      ^
    +   5. Flat is better than nested.
    NcCs||_||_dS)a�
        Construct a text differencer, with optional filters.

        The two optional keyword parameters are for filter functions:

        - `linejunk`: A function that should accept a single string argument,
          and return true iff the string is junk. The module-level function
          `IS_LINE_JUNK` may be used to filter out lines without visible
          characters, except for at most one splat ('#').  It is recommended
          to leave linejunk None; the underlying SequenceMatcher class has
          an adaptive notion of "noise" lines that's better than any static
          definition the author has ever been able to craft.

        - `charjunk`: A function that should accept a string of length 1. The
          module-level function `IS_CHARACTER_JUNK` may be used to filter out
          whitespace characters (a blank or tab; **note**: bad idea to include
          newline in this!).  Use of IS_CHARACTER_JUNK is recommended.
        N��linejunk�charjunk)rrwrxrrrr*szDiffer.__init__c
	cs�t|j||�}|��D]�\}}}}}|dkrB|�||||||�}	n\|dkr\|�d|||�}	nB|dkrv|�d|||�}	n(|dkr�|�d|||�}	ntd|f��|	Ed	Hqd	S)
a�
        Compare two sequences of lines; generate the resulting delta.

        Each sequence must contain individual single-line strings ending with
        newlines. Such sequences can be obtained from the `readlines()` method
        of file-like objects.  The delta generated also consists of newline-
        terminated strings, ready to be printed as-is via the writeline()
        method of a file-like object.

        Example:

        >>> print(''.join(Differ().compare('one\ntwo\nthree\n'.splitlines(True),
        ...                                'ore\ntree\nemu\n'.splitlines(True))),
        ...       end="")
        - one
        ?  ^
        + ore
        ?  ^
        - two
        - three
        ?  -
        + tree
        + emu
        rMrN�-rO�+rPrp�unknown tag %rN)rrwrU�_fancy_replace�_dumprk)
rrr�cruncherrTr9r:r;r<�grrr�compareAszDiffer.compareccs&t||�D]}d|||fVq
dS)z4Generate comparison results for a same-tagged range.z%s %sN)r7)rrTrG�lo�hir2rrrr}jszDiffer._dumpc
cs�||kr||ksJ�||||krF|�d|||�}|�d|||�}n |�d|||�}|�d|||�}||fD]}	|	EdHqndS)Nrzry)r})
rrr9r:rr;r<�first�secondrrrr�_plain_replaceoszDiffer._plain_replaceccs:d\}}t|j�}	d\}
}t||�D]�}||}
|	�|
�t||�D]j}||}||
krl|
durD||}
}qD|	�|�|	��|krD|	��|krD|	��|krD|	��||}}}qDq$||kr�|
dur�|�||||||�EdHdS|
|d}}}nd}
|�	||||||�EdH||||}}|
du�r
d}}|	�
||�|	��D]�\}}}}}||||}}|dk�r�|d|7}|d|7}nb|dk�r�|d	|7}nJ|d
k�r�|d|7}n2|dk�r�|d
|7}|d
|7}ntd|f���qH|�
||||�EdHn
d|V|�	||d|||d|�EdHdS)aL
        When replacing one block of lines with another, search the blocks
        for *similar* lines; the best-matching pair (if any) is used as a
        synch point, and intraline difference marking is done on the
        similar pair. Lots of work, but often worth it.

        Example:

        >>> d = Differ()
        >>> results = d._fancy_replace(['abcDefghiJkl\n'], 0, 1,
        ...                            ['abcdefGhijkl\n'], 0, 1)
        >>> print(''.join(results), end="")
        - abcDefghiJkl
        ?    ^  ^  ^
        + abcdefGhijkl
        ?    ^  ^  ^
        )g�G�z��?g�?)NNNrrrM�^rNryrOrzrPrpr{�  r')rrxr7r rrbrar`r��
_fancy_helperrrUrk�_qformat)rrr9r:rr;r<Z
best_ratiormr~ZeqiZeqjr=rRr2rQZbest_iZbest_jZaeltZbelt�atags�btagsrTZai1Zai2Zbj1Zbj2rErFrrrr|}s\




�
�





zDiffer._fancy_replaceccsbg}||kr<||kr*|�||||||�}qT|�d|||�}n||krT|�d|||�}|EdHdS)Nryrz)r|r})rrr9r:rr;r<rrrrr��szDiffer._fancy_helperccsXt||���}t||���}d|V|r8d|�d�Vd|V|rTd|�d�VdS)a�
        Format "?" output and deal with tabs.

        Example:

        >>> d = Differ()
        >>> results = d._qformat('\tabcDefghiJkl\n', '\tabcdefGhijkl\n',
        ...                      '  ^ ^  ^      ', '  ^ ^  ^      ')
        >>> for line in results: print(repr(line))
        ...
        '- \tabcDefghiJkl\n'
        '? \t ^ ^  ^\n'
        '+ \tabcdefGhijkl\n'
        '? \t ^ ^  ^\n'
        �- z? �
�+ N)ru�rstrip)rZalineZbliner�r�rrrr��s

zDiffer._qformat)NN)rcrdrerfrr�r}r�r|r�r�rrrrr�sU
)^rNz
\s*(?:#\s*)?$cCs||�duS)z�
    Return True for ignorable line: iff `line` is blank or contains a single '#'.

    Examples:

    >>> IS_LINE_JUNK('\n')
    True
    >>> IS_LINE_JUNK('  #   \n')
    True
    >>> IS_LINE_JUNK('hello\n')
    False
    Nr)�lineZpatrrrrsr� 	cCs||vS)z�
    Return True for ignorable character: iff `ch` is a space or tab.

    Examples:

    >>> IS_CHARACTER_JUNK(' ')
    True
    >>> IS_CHARACTER_JUNK('\t')
    True
    >>> IS_CHARACTER_JUNK('\n')
    False
    >>> IS_CHARACTER_JUNK('x')
    False
    r)ZchZwsrrrr%srcCs:|d}||}|dkr"d�|�S|s.|d8}d�||�S�z Convert range to the "ed" formatr'z{}z{},{}��format��start�stopZ	beginningrrrr�_format_range_unified<s
r�rr�ccsPt|||||||�d}td||��|�D�]}	|s|d}|rFd�|�nd}
|rXd�|�nd}d�||
|�Vd�|||�V|	d|	d	}}
t|d
|
d�}t|d|
d
�}d�|||�V|	D]�\}}}}}|dkr�|||�D]}d|Vq�q�|dv�r"|||�D]}d|V�q|dvr�|||�D]}d|V�q6q�q*dS)a�
    Compare two sequences of lines; generate the delta as a unified diff.

    Unified diffs are a compact way of showing line changes and a few
    lines of context.  The number of context lines is set by 'n' which
    defaults to three.

    By default, the diff control lines (those with ---, +++, or @@) are
    created with a trailing newline.  This is helpful so that inputs
    created from file.readlines() result in diffs that are suitable for
    file.writelines() since both the inputs and outputs have trailing
    newlines.

    For inputs that do not have trailing newlines, set the lineterm
    argument to "" so that the output will be uniformly newline free.

    The unidiff format normally has a header for filenames and modification
    times.  Any or all of these may be specified using strings for
    'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'.
    The modification times are normally expressed in the ISO 8601 format.

    Example:

    >>> for line in unified_diff('one two three four'.split(),
    ...             'zero one tree four'.split(), 'Original', 'Current',
    ...             '2005-01-26 23:30:50', '2010-04-02 10:20:52',
    ...             lineterm=''):
    ...     print(line)                 # doctest: +NORMALIZE_WHITESPACE
    --- Original        2005-01-26 23:30:50
    +++ Current         2010-04-02 10:20:52
    @@ -1,4 +1,4 @@
    +zero
     one
    -two
    -three
    +tree
     four
    FNT�	{}r�
--- {}{}{}z
+++ {}{}{}r
rWr'�rV�z@@ -{} +{} @@{}rPrp>rNrMry>rOrMrz)�_check_typesrr[r�r�)rr�fromfile�tofile�fromfiledate�
tofiledater5�lineterm�startedrZ�fromdate�todater��last�file1_range�file2_rangerTrHrJrIrKr�rrrr	Gs0)
r	cCsB|d}||}|s|d8}|dkr.d�|�Sd�|||d�Sr�r�r�rrr�_format_range_context�s
r�ccs�t|||||||�tddddd�}d}	td||��|�D�]R}
|	s�d}	|rVd	�|�nd
}|rhd	�|�nd
}d�|||�Vd�|||�V|
d
|
d}
}d|Vt|
d|d�}d�||�Vtdd�|
D���r|
D]8\}}}}}|dkr�|||�D]}|||V�qq�t|
d|d�}d�||�Vtdd�|
D��r:|
D]<\}}}}}|dk�rP|||�D]}|||V�qt�qPq:dS)ah
    Compare two sequences of lines; generate the delta as a context diff.

    Context diffs are a compact way of showing line changes and a few
    lines of context.  The number of context lines is set by 'n' which
    defaults to three.

    By default, the diff control lines (those with *** or ---) are
    created with a trailing newline.  This is helpful so that inputs
    created from file.readlines() result in diffs that are suitable for
    file.writelines() since both the inputs and outputs have trailing
    newlines.

    For inputs that do not have trailing newlines, set the lineterm
    argument to "" so that the output will be uniformly newline free.

    The context diff format normally has a header for filenames and
    modification times.  Any or all of these may be specified using
    strings for 'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'.
    The modification times are normally expressed in the ISO 8601 format.
    If not specified, the strings default to blanks.

    Example:

    >>> print(''.join(context_diff('one\ntwo\nthree\nfour\n'.splitlines(True),
    ...       'zero\none\ntree\nfour\n'.splitlines(True), 'Original', 'Current')),
    ...       end="")
    *** Original
    --- Current
    ***************
    *** 1,4 ****
      one
    ! two
    ! three
      four
    --- 1,4 ----
    + zero
      one
    ! tree
      four
    r�r�z! r�)rOrNrMrPFNTr�rz
*** {}{}{}r�r
rWz***************r'r�z
*** {} ****{}css |]\}}}}}|dvVqdS)>rNrMNr�r\rT�_rrrr]�r^zcontext_diff.<locals>.<genexpr>rOrVr�z
--- {} ----{}css |]\}}}}}|dvVqdS)>rOrMNrr�rrrr]�r^rN)r��dictrr[r�r��any)rrr�r�r�r�r5r��prefixr�rZr�r�r�r�r�rTrHrJr�r�r�rIrKrrrr�s4,

rcGs�|r0t|dt�s0tdt|d�j|df��|r`t|dt�s`tdt|d�j|df��|D]}t|t�sdtd|f��qddS)Nr
z)lines to compare must be str, not %s (%r)z"all arguments must be str, not: %r)�
isinstance�str�	TypeError�typerc)rr�args�argrrrr��s��
r�r^�
c		cs~dd�}	tt|	|��}tt|	|��}|	|�}|	|�}|	|�}|	|�}|	|�}|||||||||�}
|
D]}|�dd�VqfdS)a�
    Compare `a` and `b`, two sequences of lines represented as bytes rather
    than str. This is a wrapper for `dfunc`, which is typically either
    unified_diff() or context_diff(). Inputs are losslessly converted to
    strings so that `dfunc` only has to worry about strings, and encoded
    back to bytes on return. This is necessary to compare files with
    unknown or inconsistent encoding. All other inputs (except `n`) must be
    bytes rather than str.
    c
SsTz|�dd�WStyN}z(dt|�j|f}t|�|�WYd}~n
d}~00dS)N�ascii�surrogateescapez(all arguments must be bytes, not %s (%r))�decode�AttributeErrorr�rcr�)ro�err�msgrrrr�s�zdiff_bytes.<locals>.decoder�r�N)rBrC�encode)Zdfuncrrr�r�r�r�r5r�r��linesr�rrrr
�sr
cCst||��||�S)aJ
    Compare `a` and `b` (lists of strings); return a `Differ`-style delta.

    Optional keyword parameters `linejunk` and `charjunk` are for filter
    functions, or can be None:

    - linejunk: A function that should accept a single string argument and
      return true iff the string is junk.  The default is None, and is
      recommended; the underlying SequenceMatcher class has an adaptive
      notion of "noise" lines.

    - charjunk: A function that accepts a character (string of length
      1), and returns true iff the character is junk. The default is
      the module-level function IS_CHARACTER_JUNK, which filters out
      whitespace characters (a blank or tab; note: it's a bad idea to
      include newline in this!).

    Tools/scripts/ndiff.py is a command-line front-end to this function.

    Example:

    >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
    ...              'ore\ntree\nemu\n'.splitlines(keepends=True))
    >>> print(''.join(diff), end="")
    - one
    ?  ^
    + ore
    ?  ^
    - two
    - three
    ?  -
    + tree
    + emu
    )rr�)rrrwrxrrrrs#rc#s�ddl}|�d��t||||��ddgf�fdd�	���fdd���fdd	�}|�}|durj|EdH�n|d
7}d}ddg|}	}
d}|dur�zt|�\}}
}Wnty�YdS0|	|}||
|f|
|<|	d
7}	q�|	|kr�dV|}n|	}d}	|�r |	|}|	d
7}	|
|V|d
8}q�|d
}z@|�rft|�\}}
}|�rN|d
}n|d
8}||
|fV�q*Wqvt�y~YdS0qvdS)
a�Returns generator yielding marked up from/to side by side differences.

    Arguments:
    fromlines -- list of text lines to compared to tolines
    tolines -- list of text lines to be compared to fromlines
    context -- number of context lines to display on each side of difference,
               if None, all from/to text lines will be generated.
    linejunk -- passed on to ndiff (see ndiff documentation)
    charjunk -- passed on to ndiff (see ndiff documentation)

    This function returns an iterator which returns a tuple:
    (from line tuple, to line tuple, boolean flag)

    from/to line tuple -- (line num, line text)
        line num -- integer or None (to indicate a context separation)
        line text -- original line text with following markers inserted:
            '\0+' -- marks start of added text
            '\0-' -- marks start of deleted text
            '\0^' -- marks start of changed text
            '\1' -- marks end of added/deleted/changed text

    boolean flag -- None indicates context separation, True indicates
        either "from" or "to" line contains a change, otherwise False.

    This function/iterator was originally developed to generate side by side
    file difference for making HTML pages (see HtmlDiff class for example
    usage).

    Note, this function utilizes the ndiff function to generate the side by
    side difference markup.  Optional ndiff arguments may be passed to this
    function and they in turn will be passed to ndiff.
    r
Nz
(\++|\-+|\^+)cs�||d7<|dur2|||�d�dd�fS|dkr�|�d�|�d�}}g}|fdd�}��||�t|�D]<\}\}	}
|d|	�d|||	|
�d	||
d�}qt|dd�}n*|�d�dd�}|s�d
}d||d	}|||fS)aReturns line of text with user's change markup and line formatting.

        lines -- list of lines from the ndiff generator to produce a line of
                 text from.  When producing the line of text to return, the
                 lines used are removed from this list.
        format_key -- '+' return first line in list with "add" markup around
                          the entire line.
                      '-' return first line in list with "delete" markup around
                          the entire line.
                      '?' return first line in list with add/delete/change
                          intraline markup (indices obtained from second line)
                      None return first line in list with no markup
        side -- indice into the num_lines list (0=from,1=to)
        num_lines -- from/to current line number.  This is NOT intended to be a
                     passed parameter.  It is present as a keyword argument to
                     maintain memory of the current line numbers between calls
                     of this function.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        r'Nr
r��?cSs&|�|�d�d|��g�|�d�S)Nr'r
)r+rZ�span)Zmatch_object�sub_inforrr�record_sub_info�sz3_mdiff.<locals>._make_line.<locals>.record_sub_info��rp)r@�sub�reversed)r�Z
format_key�sideZ	num_lines�textZmarkersr�r��keyZbegin�end)�	change_rerr�
_make_linefs 2z_mdiff.<locals>._make_linec3sng}d\}}t|�dkr*|�t�d��qd�dd�|D��}|�d�rP|}�n�|�d�r|�|dd	��|dd
�dfVq�n�|�d�r�|d
8}�|d
d	�ddfVq�nl|�d�rֈ|d
d	�d}}|d
d	}}�n>|�d��r�|dd	��|dd
�dfVq�n|�d��r0�|dd	��|dd
�dfVqn�|�d
��r\|d
8}�|d
d	�ddfVqn�|�d��r�|d
7}d�|dd
�dfVqn�|�d��r�d�|dd
�}}|d
d	}}n^|�d��r�|d
7}d�|dd
�dfVqn2|�d��r�|dd�dd	��|dd
�dfVq|d	k�r0|d
7}dV�q|d	k�rL|d
8}dV�q0|�d��r\dS||dfVqdS)a�Yields from/to lines of text with a change indication.

        This function is an iterator.  It itself pulls lines from a
        differencing iterator, processes them and yields them.  When it can
        it yields both a "from" and a "to" line, otherwise it will yield one
        or the other.  In addition to yielding the lines of from/to text, a
        boolean flag is yielded to indicate if the text line(s) have
        differences in them.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        )r
r
r��XrcSsg|]}|d�qS)r
r�r\r�rrrrj�r^z2_mdiff.<locals>._line_iterator.<locals>.<listcomp>z-?+?r�r
r'Tz--++ryN)z--?+z--+r�z-+?z-?+z+--rz)r�z+-rpF)N�rr�T)r�NT)r0r+�nextrs�
startswith)r�Znum_blanks_pendingZnum_blanks_to_yieldro�	from_line�to_line)r��diff_lines_iteratorrr�_line_iterator�sd



$



z_mdiff.<locals>._line_iteratorc3s���}gg}}t|�dks(t|�dkr~zt|�\}}}WntyNYdS0|durf|�||f�|dur|�||f�q|�d�\}}|�d�\}}|||p�|fVqdS)atYields from/to lines of text with a change indication.

        This function is an iterator.  It itself pulls lines from the line
        iterator.  Its difference from that iterator is that this function
        always yields a pair of from/to text lines (with the change
        indication).  If necessary it will collect single from/to lines
        until it has a matching pair from/to pair to yield.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        r
N)r0r��
StopIterationr+r@)Z
line_iterator�	fromlines�tolinesr�r��
found_diffZfromDiffZto_diff)r�rr�_line_pair_iterator�s

z#_mdiff.<locals>._line_pair_iteratorr'F)NNN)�re�compilerr�r�)r�r��contextrwrxr�r�Zline_pair_iteratorZlines_to_write�indexZcontextLinesr�r�r�r2r)r�r�r�r�r�_mdiff<sR"
8X!



r�an
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
    <meta http-equiv="Content-Type"
          content="text/html; charset=%(charset)s" />
    <title></title>
    <style type="text/css">%(styles)s
    </style>
</head>

<body>
    %(table)s%(legend)s
</body>

</html>aH
        table.diff {font-family:Courier; border:medium;}
        .diff_header {background-color:#e0e0e0}
        td.diff_header {text-align:right}
        .diff_next {background-color:#c0c0c0}
        .diff_add {background-color:#aaffaa}
        .diff_chg {background-color:#ffff77}
        .diff_sub {background-color:#ffaaaa}aZ
    <table class="diff" id="difflib_chg_%(prefix)s_top"
           cellspacing="0" cellpadding="0" rules="groups" >
        <colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
        <colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
        %(header_row)s
        <tbody>
%(data_rows)s        </tbody>
    </table>a�
    <table class="diff" summary="Legends">
        <tr> <th colspan="2"> Legends </th> </tr>
        <tr> <td> <table border="" summary="Colors">
                      <tr><th> Colors </th> </tr>
                      <tr><td class="diff_add">&nbsp;Added&nbsp;</td></tr>
                      <tr><td class="diff_chg">Changed</td> </tr>
                      <tr><td class="diff_sub">Deleted</td> </tr>
                  </table></td>
             <td> <table border="" summary="Links">
                      <tr><th colspan="2"> Links </th> </tr>
                      <tr><td>(f)irst change</td> </tr>
                      <tr><td>(n)ext change</td> </tr>
                      <tr><td>(t)op</td> </tr>
                  </table></td> </tr>
    </table>c@s�eZdZdZeZeZeZeZdZddde	fdd�Z
dd
d�dd
�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zddd�ZdS) ra{For producing HTML side by side comparison with change highlights.

    This class can be used to create an HTML table (or a complete HTML file
    containing the table) showing a side by side, line by line comparison
    of text with inter-line and intra-line change highlights.  The table can
    be generated in either full or contextual difference mode.

    The following methods are provided for HTML generation:

    make_table -- generates HTML for a single side by side table
    make_file -- generates complete HTML file with a single side by side table

    See tools/scripts/diff.py for an example usage of this class.
    r
�NcCs||_||_||_||_dS)a�HtmlDiff instance initializer

        Arguments:
        tabsize -- tab stop spacing, defaults to 8.
        wrapcolumn -- column number where lines are broken and wrapped,
            defaults to None where lines are not wrapped.
        linejunk,charjunk -- keyword arguments passed into ndiff() (used by
            HtmlDiff() to generate the side by side HTML differences).  See
            ndiff() documentation for argument default values and descriptions.
        N)�_tabsize�_wrapcolumn�	_linejunk�	_charjunk)r�tabsizeZ
wrapcolumnrwrxrrrr�szHtmlDiff.__init__rF�zutf-8)�charsetcCs:|jt|j|j|j||||||d�|d��|d��|�S)aReturns HTML file of side by side comparison with change highlights

        Arguments:
        fromlines -- list of "from" lines
        tolines -- list of "to" lines
        fromdesc -- "from" file column header string
        todesc -- "to" file column header string
        context -- set to True for contextual differences (defaults to False
            which shows full differences).
        numlines -- number of context lines.  When context is set True,
            controls number of lines displayed before and after the change.
            When context is False, controls the number of lines to place
            the "next" link anchors before the next change (so click of
            "next" link jumps to just before the change).
        charset -- charset of the HTML document
        )r��numlines)ZstylesZlegend�tabler��xmlcharrefreplace)�_file_templater��_styles�_legend�
make_tabler�r�)rr�r��fromdesc�todescr�r�r�rrr�	make_file�s����zHtmlDiff.make_filecs8�fdd���fdd�|D�}�fdd�|D�}||fS)aReturns from/to line lists with tabs expanded and newlines removed.

        Instead of tab characters being replaced by the number of spaces
        needed to fill in to the next tab stop, this function will fill
        the space with tab characters.  This is done so that the difference
        algorithms can identify changes in a file when tabs are replaced by
        spaces and vice versa.  At the end of the HTML generation, the tab
        characters will be replaced with a nonbreakable space.
        cs6|�dd�}|��j�}|�dd�}|�dd��d�S)Nrpr��	r�)rM�
expandtabsr�r�)r�)rrr�expand_tabs�sz2HtmlDiff._tab_newline_replace.<locals>.expand_tabscsg|]}�|��qSrrr��r�rrrj�r^z1HtmlDiff._tab_newline_replace.<locals>.<listcomp>csg|]}�|��qSrrr�r�rrrj�r^r)rr�r�r)r�rr�_tab_newline_replace�s
	zHtmlDiff._tab_newline_replacecCs|s|�||f�dSt|�}|j}||ksB||�d�d|krT|�||f�dSd}d}d}||kr�||kr�||dkr�|d7}||}|d7}q`||dkr�|d7}d}q`|d7}|d7}q`|d|�}	||d�}
|r�|	d}	d||
}
|�||	f�|�|d|
�dS)	a�Builds list of text lines by splitting text lines at wrap point

        This function will determine if the input text line needs to be
        wrapped (split) into separate lines.  If so, the first wrap point
        will be determined and the first line appended to the output
        text line list.  This function is used recursively to handle
        the second part of the split line to further split it.
        Nr�rVr
rr'r��>)r+r0r��count�_split_line)rZ	data_listZline_numr�rSrXr2r5ZmarkZline1Zline2rrrr��s8


zHtmlDiff._split_lineccs�|D]�\}}}|dur$|||fVq||\}}\}}gg}	}
|�|	||�|�|
||�|	sd|
r|	rt|	�d�}nd}|
r�|
�d�}nd}|||fVq\qdS)z5Returns iterator that splits (wraps) mdiff text linesNr
)rrp)r�r@)r�diffs�fromdata�todata�flagZfromlineZfromtextZtolineZtotext�fromlist�tolistrrr�
_line_wrappers 
zHtmlDiff._line_wrapperc	Cs�ggg}}}|D]t\}}}z8|�|jd|g|�R��|�|jd|g|�R��Wn&ty||�d�|�d�Yn0|�|�q|||fS)z�Collects mdiff output into separate lists

        Before storing the mdiff from/to data into a list, it is converted
        into a single line of text with HTML markup.
        r
r'N)r+�_format_liner�)rr�r�r��flaglistr�r�r�rrr�_collect_lines.s
zHtmlDiff._collect_linescCspzd|}d|j||f}Wnty4d}Yn0|�dd��dd��dd	�}|�d
d���}d|||fS)
aReturns HTML markup of "from" / "to" text lines

        side -- 0 or 1 indicating "from" or "to" text
        flag -- indicates if difference on line
        linenum -- line number (used for line number column)
        text -- line text to be marked up
        z%dz
 id="%s%s"r�&z&amp;r�z&gt;�<z&lt;rp�&nbsp;z<<td class="diff_header"%s>%s</td><td nowrap="nowrap">%s</td>)�_prefixr�rMr�)rr�r�Zlinenumr��idrrrrCs
�zHtmlDiff._format_linecCs0dtj}dtj}tjd7_||g|_dS)zCreate unique anchor prefixeszfrom%d_zto%d_r'N)r�_default_prefixr)rZ
fromprefix�toprefixrrr�_make_prefixZs

zHtmlDiff._make_prefixcCs�|jd}dgt|�}dgt|�}d\}	}
d}t|�D]V\}}
|
r�|
s�d}
|}td||g�}d||	f||<|	d7}	d||	f||<q:d}
q:|s�dg}dg}dg}d}|r�d	g}|}n
d
g}}|ds�d||d<d|||<|||||fS)
zMakes list of "next" linksr'r)r
Fr
Tz id="difflib_chg_%s_%d"z"<a href="#difflib_chg_%s_%d">n</a>Fz2<td></td><td>&nbsp;No Differences Found&nbsp;</td>z(<td></td><td>&nbsp;Empty File&nbsp;</td>z!<a href="#difflib_chg_%s_0">f</a>z#<a href="#difflib_chg_%s_top">t</a>)rr0r)rX)rr�r�rr�r�r	�next_id�	next_hrefZnum_chgZ	in_changer�r2r�rrr�_convert_flagses<
�
zHtmlDiff._convert_flagsc
CsR|��|�||�\}}|r"|}nd}t||||j|jd�}|jrL|�|�}|�|�\}	}
}|�|	|
|||�\}	}
}}}
g}d}t	t
|��D]P}||dur�|dkr�|�d�q�|�||
||||	||||
|f�q�|s�|�rddd|dd|f}nd	}|jt
d	�|�||jd
d�}|�dd
��dd��dd��dd��dd�S)a�Returns HTML table of side by side comparison with change highlights

        Arguments:
        fromlines -- list of "from" lines
        tolines -- list of "to" lines
        fromdesc -- "from" file column header string
        todesc -- "to" file column header string
        context -- set to True for contextual differences (defaults to False
            which shows full differences).
        numlines -- number of context lines.  When context is set True,
            controls number of lines displayed before and after the change.
            When context is False, controls the number of lines to place
            the "next" link anchors before the next change (so click of
            "next" link jumps to just before the change).
        NrvzV            <tr><td class="diff_next"%s>%s</td>%s<td class="diff_next">%s</td>%s</tr>
r
z)        </tbody>        
        <tbody>
z <thead><tr>%s%s%s%s</tr></thead>z!<th class="diff_next"><br /></th>z+<th colspan="2" class="diff_header">%s</th>rr')Z	data_rows�
header_rowr�z+z<span class="diff_add">z-z<span class="diff_sub">z^z<span class="diff_chg">r�z</span>r�r)r
r�r�r�r�r�r�rr
r7r0r+�_table_templater�rsrrM)rr�r�r�r�r�r�Z
context_linesr�r�r�rrrroZfmtr2rr�rrrr��sZ�

��

������zHtmlDiff.make_table)rrFr�)rrFr�)rcrdrerfr�r�rr�rrrr�r�r�r�rrr
r
r�rrrrr�s0�
��7/�rccslzddd�t|�}Wn ty6td|�d�Yn0d|f}|D]"}|dd�|vrD|dd�VqDdS)a0
    Generate one of the two sequences that generated a delta.

    Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract
    lines originating from file 1 or 2 (parameter `which`), stripping off line
    prefixes.

    Examples:

    >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
    ...              'ore\ntree\nemu\n'.splitlines(keepends=True))
    >>> diff = list(diff)
    >>> print(''.join(restore(diff, 1)), end="")
    one
    two
    three
    >>> print(''.join(restore(diff, 2)), end="")
    ore
    tree
    emu
    r�r�)r'r�z)unknown delta choice (must be 1 or 2): %rNr�r�)�int�KeyErrorrk)ZdeltaZwhichrT�prefixesr�rrrr�s��rcCsddl}ddl}|�|�S)Nr
)�doctest�difflibZtestmod)rrrrr�_testsr�__main__)rVri)r�)rrrrrVr�)rrrrrVr�)r^r^r^r^rVr�)&rf�__all__�heapqrrl�collectionsrZ_namedtuple�typesrrrrrrurr�r��matchrrr�r	r�rr�r
rr�r�r�rr��objectrrrrcrrrr�<module>sb
r
1	A
�
I�
L�
%�
	
a 

Name
Size
Permissions
Options
__future__.cpython-39.opt-1.pyc
4.042 KB
-rw-r--r--
__future__.cpython-39.opt-2.pyc
2.116 KB
-rw-r--r--
__future__.cpython-39.pyc
4.042 KB
-rw-r--r--
__phello__.foo.cpython-39.opt-1.pyc
0.139 KB
-rw-r--r--
__phello__.foo.cpython-39.opt-2.pyc
0.139 KB
-rw-r--r--
__phello__.foo.cpython-39.pyc
0.139 KB
-rw-r--r--
_aix_support.cpython-39.opt-1.pyc
2.987 KB
-rw-r--r--
_aix_support.cpython-39.opt-2.pyc
1.664 KB
-rw-r--r--
_aix_support.cpython-39.pyc
2.987 KB
-rw-r--r--
_bootlocale.cpython-39.opt-1.pyc
1.201 KB
-rw-r--r--
_bootlocale.cpython-39.opt-2.pyc
0.981 KB
-rw-r--r--
_bootlocale.cpython-39.pyc
1.211 KB
-rw-r--r--
_bootsubprocess.cpython-39.opt-1.pyc
2.205 KB
-rw-r--r--
_bootsubprocess.cpython-39.opt-2.pyc
1.981 KB
-rw-r--r--
_bootsubprocess.cpython-39.pyc
2.205 KB
-rw-r--r--
_collections_abc.cpython-39.opt-1.pyc
31 KB
-rw-r--r--
_collections_abc.cpython-39.opt-2.pyc
25.639 KB
-rw-r--r--
_collections_abc.cpython-39.pyc
31 KB
-rw-r--r--
_compat_pickle.cpython-39.opt-1.pyc
5.32 KB
-rw-r--r--
_compat_pickle.cpython-39.opt-2.pyc
5.32 KB
-rw-r--r--
_compat_pickle.cpython-39.pyc
5.372 KB
-rw-r--r--
_compression.cpython-39.opt-1.pyc
4.112 KB
-rw-r--r--
_compression.cpython-39.opt-2.pyc
3.903 KB
-rw-r--r--
_compression.cpython-39.pyc
4.112 KB
-rw-r--r--
_markupbase.cpython-39.opt-1.pyc
7.46 KB
-rw-r--r--
_markupbase.cpython-39.opt-2.pyc
7.091 KB
-rw-r--r--
_markupbase.cpython-39.pyc
7.607 KB
-rw-r--r--
_osx_support.cpython-39.opt-1.pyc
11.323 KB
-rw-r--r--
_osx_support.cpython-39.opt-2.pyc
8.696 KB
-rw-r--r--
_osx_support.cpython-39.pyc
11.323 KB
-rw-r--r--
_py_abc.cpython-39.opt-1.pyc
4.538 KB
-rw-r--r--
_py_abc.cpython-39.opt-2.pyc
3.354 KB
-rw-r--r--
_py_abc.cpython-39.pyc
4.56 KB
-rw-r--r--
_pydecimal.cpython-39.opt-1.pyc
156.861 KB
-rw-r--r--
_pydecimal.cpython-39.opt-2.pyc
77.157 KB
-rw-r--r--
_pydecimal.cpython-39.pyc
156.861 KB
-rw-r--r--
_pyio.cpython-39.opt-1.pyc
72.637 KB
-rw-r--r--
_pyio.cpython-39.opt-2.pyc
50.374 KB
-rw-r--r--
_pyio.cpython-39.pyc
72.656 KB
-rw-r--r--
_sitebuiltins.cpython-39.opt-1.pyc
3.432 KB
-rw-r--r--
_sitebuiltins.cpython-39.opt-2.pyc
2.92 KB
-rw-r--r--
_sitebuiltins.cpython-39.pyc
3.432 KB
-rw-r--r--
_strptime.cpython-39.opt-1.pyc
15.652 KB
-rw-r--r--
_strptime.cpython-39.opt-2.pyc
12.012 KB
-rw-r--r--
_strptime.cpython-39.pyc
15.652 KB
-rw-r--r--
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-1.pyc
29.254 KB
-rw-r--r--
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-2.pyc
29.254 KB
-rw-r--r--
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.pyc
29.254 KB
-rw-r--r--
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-39.opt-1.pyc
29.102 KB
-rw-r--r--
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-39.opt-2.pyc
29.102 KB
-rw-r--r--
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-39.pyc
29.102 KB
-rw-r--r--
_threading_local.cpython-39.opt-1.pyc
6.366 KB
-rw-r--r--
_threading_local.cpython-39.opt-2.pyc
3.124 KB
-rw-r--r--
_threading_local.cpython-39.pyc
6.366 KB
-rw-r--r--
_weakrefset.cpython-39.opt-1.pyc
7.556 KB
-rw-r--r--
_weakrefset.cpython-39.opt-2.pyc
7.556 KB
-rw-r--r--
_weakrefset.cpython-39.pyc
7.556 KB
-rw-r--r--
abc.cpython-39.opt-1.pyc
5.652 KB
-rw-r--r--
abc.cpython-39.opt-2.pyc
3.153 KB
-rw-r--r--
abc.cpython-39.pyc
5.652 KB
-rw-r--r--
aifc.cpython-39.opt-1.pyc
24.687 KB
-rw-r--r--
aifc.cpython-39.opt-2.pyc
19.602 KB
-rw-r--r--
aifc.cpython-39.pyc
24.687 KB
-rw-r--r--
antigravity.cpython-39.opt-1.pyc
0.813 KB
-rw-r--r--
antigravity.cpython-39.opt-2.pyc
0.672 KB
-rw-r--r--
antigravity.cpython-39.pyc
0.813 KB
-rw-r--r--
argparse.cpython-39.opt-1.pyc
62.066 KB
-rw-r--r--
argparse.cpython-39.opt-2.pyc
52.922 KB
-rw-r--r--
argparse.cpython-39.pyc
62.175 KB
-rw-r--r--
ast.cpython-39.opt-1.pyc
51.118 KB
-rw-r--r--
ast.cpython-39.opt-2.pyc
42.773 KB
-rw-r--r--
ast.cpython-39.pyc
51.168 KB
-rw-r--r--
asynchat.cpython-39.opt-1.pyc
6.675 KB
-rw-r--r--
asynchat.cpython-39.opt-2.pyc
5.332 KB
-rw-r--r--
asynchat.cpython-39.pyc
6.675 KB
-rw-r--r--
asyncore.cpython-39.opt-1.pyc
15.673 KB
-rw-r--r--
asyncore.cpython-39.opt-2.pyc
14.497 KB
-rw-r--r--
asyncore.cpython-39.pyc
15.673 KB
-rw-r--r--
base64.cpython-39.opt-1.pyc
15.953 KB
-rw-r--r--
base64.cpython-39.opt-2.pyc
10.563 KB
-rw-r--r--
base64.cpython-39.pyc
16.082 KB
-rw-r--r--
bdb.cpython-39.opt-1.pyc
23.978 KB
-rw-r--r--
bdb.cpython-39.opt-2.pyc
15.152 KB
-rw-r--r--
bdb.cpython-39.pyc
23.978 KB
-rw-r--r--
binhex.cpython-39.opt-1.pyc
12.674 KB
-rw-r--r--
binhex.cpython-39.opt-2.pyc
12.152 KB
-rw-r--r--
binhex.cpython-39.pyc
12.674 KB
-rw-r--r--
bisect.cpython-39.opt-1.pyc
2.308 KB
-rw-r--r--
bisect.cpython-39.opt-2.pyc
1.026 KB
-rw-r--r--
bisect.cpython-39.pyc
2.308 KB
-rw-r--r--
bz2.cpython-39.opt-1.pyc
11.287 KB
-rw-r--r--
bz2.cpython-39.opt-2.pyc
6.389 KB
-rw-r--r--
bz2.cpython-39.pyc
11.287 KB
-rw-r--r--
cProfile.cpython-39.opt-1.pyc
5.009 KB
-rw-r--r--
cProfile.cpython-39.opt-2.pyc
4.559 KB
-rw-r--r--
cProfile.cpython-39.pyc
5.009 KB
-rw-r--r--
calendar.cpython-39.opt-1.pyc
26.41 KB
-rw-r--r--
calendar.cpython-39.opt-2.pyc
21.926 KB
-rw-r--r--
calendar.cpython-39.pyc
26.41 KB
-rw-r--r--
cgi.cpython-39.opt-1.pyc
25.874 KB
-rw-r--r--
cgi.cpython-39.opt-2.pyc
17.646 KB
-rw-r--r--
cgi.cpython-39.pyc
25.874 KB
-rw-r--r--
cgitb.cpython-39.opt-1.pyc
9.96 KB
-rw-r--r--
cgitb.cpython-39.opt-2.pyc
8.398 KB
-rw-r--r--
cgitb.cpython-39.pyc
9.96 KB
-rw-r--r--
chunk.cpython-39.opt-1.pyc
4.74 KB
-rw-r--r--
chunk.cpython-39.opt-2.pyc
2.646 KB
-rw-r--r--
chunk.cpython-39.pyc
4.74 KB
-rw-r--r--
cmd.cpython-39.opt-1.pyc
12.392 KB
-rw-r--r--
cmd.cpython-39.opt-2.pyc
7.094 KB
-rw-r--r--
cmd.cpython-39.pyc
12.392 KB
-rw-r--r--
code.cpython-39.opt-1.pyc
9.696 KB
-rw-r--r--
code.cpython-39.opt-2.pyc
4.549 KB
-rw-r--r--
code.cpython-39.pyc
9.696 KB
-rw-r--r--
codecs.cpython-39.opt-1.pyc
33.106 KB
-rw-r--r--
codecs.cpython-39.opt-2.pyc
17.899 KB
-rw-r--r--
codecs.cpython-39.pyc
33.106 KB
-rw-r--r--
codeop.cpython-39.opt-1.pyc
6.319 KB
-rw-r--r--
codeop.cpython-39.opt-2.pyc
2.354 KB
-rw-r--r--
codeop.cpython-39.pyc
6.319 KB
-rw-r--r--
colorsys.cpython-39.opt-1.pyc
3.196 KB
-rw-r--r--
colorsys.cpython-39.opt-2.pyc
2.604 KB
-rw-r--r--
colorsys.cpython-39.pyc
3.196 KB
-rw-r--r--
compileall.cpython-39.opt-1.pyc
12.307 KB
-rw-r--r--
compileall.cpython-39.opt-2.pyc
9.124 KB
-rw-r--r--
compileall.cpython-39.pyc
12.307 KB
-rw-r--r--
configparser.cpython-39.opt-1.pyc
44.807 KB
-rw-r--r--
configparser.cpython-39.opt-2.pyc
30.021 KB
-rw-r--r--
configparser.cpython-39.pyc
44.807 KB
-rw-r--r--
contextlib.cpython-39.opt-1.pyc
19.083 KB
-rw-r--r--
contextlib.cpython-39.opt-2.pyc
13.629 KB
-rw-r--r--
contextlib.cpython-39.pyc
19.093 KB
-rw-r--r--
contextvars.cpython-39.opt-1.pyc
0.252 KB
-rw-r--r--
contextvars.cpython-39.opt-2.pyc
0.252 KB
-rw-r--r--
contextvars.cpython-39.pyc
0.252 KB
-rw-r--r--
copy.cpython-39.opt-1.pyc
6.813 KB
-rw-r--r--
copy.cpython-39.opt-2.pyc
4.563 KB
-rw-r--r--
copy.cpython-39.pyc
6.813 KB
-rw-r--r--
copyreg.cpython-39.opt-1.pyc
4.32 KB
-rw-r--r--
copyreg.cpython-39.opt-2.pyc
3.537 KB
-rw-r--r--
copyreg.cpython-39.pyc
4.339 KB
-rw-r--r--
crypt.cpython-39.opt-1.pyc
3.443 KB
-rw-r--r--
crypt.cpython-39.opt-2.pyc
2.797 KB
-rw-r--r--
crypt.cpython-39.pyc
3.443 KB
-rw-r--r--
csv.cpython-39.opt-1.pyc
11.584 KB
-rw-r--r--
csv.cpython-39.opt-2.pyc
9.591 KB
-rw-r--r--
csv.cpython-39.pyc
11.584 KB
-rw-r--r--
dataclasses.cpython-39.opt-1.pyc
22.686 KB
-rw-r--r--
dataclasses.cpython-39.opt-2.pyc
19.327 KB
-rw-r--r--
dataclasses.cpython-39.pyc
22.686 KB
-rw-r--r--
datetime.cpython-39.opt-1.pyc
55.651 KB
-rw-r--r--
datetime.cpython-39.opt-2.pyc
47.405 KB
-rw-r--r--
datetime.cpython-39.pyc
56.766 KB
-rw-r--r--
decimal.cpython-39.opt-1.pyc
0.363 KB
-rw-r--r--
decimal.cpython-39.opt-2.pyc
0.363 KB
-rw-r--r--
decimal.cpython-39.pyc
0.363 KB
-rw-r--r--
difflib.cpython-39.opt-1.pyc
57.198 KB
-rw-r--r--
difflib.cpython-39.opt-2.pyc
24.45 KB
-rw-r--r--
difflib.cpython-39.pyc
57.22 KB
-rw-r--r--
dis.cpython-39.opt-1.pyc
15.462 KB
-rw-r--r--
dis.cpython-39.opt-2.pyc
11.744 KB
-rw-r--r--
dis.cpython-39.pyc
15.462 KB
-rw-r--r--
doctest.cpython-39.opt-1.pyc
74.067 KB
-rw-r--r--
doctest.cpython-39.opt-2.pyc
39.589 KB
-rw-r--r--
doctest.cpython-39.pyc
74.27 KB
-rw-r--r--
enum.cpython-39.opt-1.pyc
25.423 KB
-rw-r--r--
enum.cpython-39.opt-2.pyc
20.616 KB
-rw-r--r--
enum.cpython-39.pyc
25.423 KB
-rw-r--r--
filecmp.cpython-39.opt-1.pyc
8.433 KB
-rw-r--r--
filecmp.cpython-39.opt-2.pyc
5.954 KB
-rw-r--r--
filecmp.cpython-39.pyc
8.433 KB
-rw-r--r--
fileinput.cpython-39.opt-1.pyc
13.479 KB
-rw-r--r--
fileinput.cpython-39.opt-2.pyc
8.003 KB
-rw-r--r--
fileinput.cpython-39.pyc
13.479 KB
-rw-r--r--
fnmatch.cpython-39.opt-1.pyc
3.792 KB
-rw-r--r--
fnmatch.cpython-39.opt-2.pyc
2.612 KB
-rw-r--r--
fnmatch.cpython-39.pyc
3.862 KB
-rw-r--r--
formatter.cpython-39.opt-1.pyc
17.141 KB
-rw-r--r--
formatter.cpython-39.opt-2.pyc
14.758 KB
-rw-r--r--
formatter.cpython-39.pyc
17.141 KB
-rw-r--r--
fractions.cpython-39.opt-1.pyc
17.639 KB
-rw-r--r--
fractions.cpython-39.opt-2.pyc
10.607 KB
-rw-r--r--
fractions.cpython-39.pyc
17.639 KB
-rw-r--r--
ftplib.cpython-39.opt-1.pyc
28.034 KB
-rw-r--r--
ftplib.cpython-39.opt-2.pyc
18.128 KB
-rw-r--r--
ftplib.cpython-39.pyc
28.034 KB
-rw-r--r--
functools.cpython-39.opt-1.pyc
28.063 KB
-rw-r--r--
functools.cpython-39.opt-2.pyc
21.499 KB
-rw-r--r--
functools.cpython-39.pyc
28.063 KB
-rw-r--r--
genericpath.cpython-39.opt-1.pyc
4.447 KB
-rw-r--r--
genericpath.cpython-39.opt-2.pyc
3.292 KB
-rw-r--r--
genericpath.cpython-39.pyc
4.447 KB
-rw-r--r--
getopt.cpython-39.opt-1.pyc
6.108 KB
-rw-r--r--
getopt.cpython-39.opt-2.pyc
3.614 KB
-rw-r--r--
getopt.cpython-39.pyc
6.126 KB
-rw-r--r--
getpass.cpython-39.opt-1.pyc
4.114 KB
-rw-r--r--
getpass.cpython-39.opt-2.pyc
2.956 KB
-rw-r--r--
getpass.cpython-39.pyc
4.114 KB
-rw-r--r--
gettext.cpython-39.opt-1.pyc
17.662 KB
-rw-r--r--
gettext.cpython-39.opt-2.pyc
16.987 KB
-rw-r--r--
gettext.cpython-39.pyc
17.662 KB
-rw-r--r--
glob.cpython-39.opt-1.pyc
4.412 KB
-rw-r--r--
glob.cpython-39.opt-2.pyc
3.572 KB
-rw-r--r--
glob.cpython-39.pyc
4.45 KB
-rw-r--r--
graphlib.cpython-39.opt-1.pyc
7.358 KB
-rw-r--r--
graphlib.cpython-39.opt-2.pyc
4.003 KB
-rw-r--r--
graphlib.cpython-39.pyc
7.403 KB
-rw-r--r--
gzip.cpython-39.opt-1.pyc
18.073 KB
-rw-r--r--
gzip.cpython-39.opt-2.pyc
14.297 KB
-rw-r--r--
gzip.cpython-39.pyc
18.073 KB
-rw-r--r--
hashlib.cpython-39.opt-1.pyc
6.547 KB
-rw-r--r--
hashlib.cpython-39.opt-2.pyc
5.992 KB
-rw-r--r--
hashlib.cpython-39.pyc
6.547 KB
-rw-r--r--
heapq.cpython-39.opt-1.pyc
13.724 KB
-rw-r--r--
heapq.cpython-39.opt-2.pyc
10.778 KB
-rw-r--r--
heapq.cpython-39.pyc
13.724 KB
-rw-r--r--
hmac.cpython-39.opt-1.pyc
6.653 KB
-rw-r--r--
hmac.cpython-39.opt-2.pyc
4.195 KB
-rw-r--r--
hmac.cpython-39.pyc
6.653 KB
-rw-r--r--
imaplib.cpython-39.opt-1.pyc
39.451 KB
-rw-r--r--
imaplib.cpython-39.opt-2.pyc
27.065 KB
-rw-r--r--
imaplib.cpython-39.pyc
41.581 KB
-rw-r--r--
imghdr.cpython-39.opt-1.pyc
4.056 KB
-rw-r--r--
imghdr.cpython-39.opt-2.pyc
3.748 KB
-rw-r--r--
imghdr.cpython-39.pyc
4.056 KB
-rw-r--r--
imp.cpython-39.opt-1.pyc
9.633 KB
-rw-r--r--
imp.cpython-39.opt-2.pyc
7.323 KB
-rw-r--r--
imp.cpython-39.pyc
9.633 KB
-rw-r--r--
inspect.cpython-39.opt-1.pyc
79.339 KB
-rw-r--r--
inspect.cpython-39.opt-2.pyc
54.8 KB
-rw-r--r--
inspect.cpython-39.pyc
79.575 KB
-rw-r--r--
io.cpython-39.opt-1.pyc
3.341 KB
-rw-r--r--
io.cpython-39.opt-2.pyc
1.887 KB
-rw-r--r--
io.cpython-39.pyc
3.341 KB
-rw-r--r--
ipaddress.cpython-39.opt-1.pyc
64.155 KB
-rw-r--r--
ipaddress.cpython-39.opt-2.pyc
38.784 KB
-rw-r--r--
ipaddress.cpython-39.pyc
64.155 KB
-rw-r--r--
keyword.cpython-39.opt-1.pyc
0.907 KB
-rw-r--r--
keyword.cpython-39.opt-2.pyc
0.513 KB
-rw-r--r--
keyword.cpython-39.pyc
0.907 KB
-rw-r--r--
linecache.cpython-39.opt-1.pyc
3.946 KB
-rw-r--r--
linecache.cpython-39.opt-2.pyc
2.742 KB
-rw-r--r--
linecache.cpython-39.pyc
3.946 KB
-rw-r--r--
locale.cpython-39.opt-1.pyc
33.896 KB
-rw-r--r--
locale.cpython-39.opt-2.pyc
29.386 KB
-rw-r--r--
locale.cpython-39.pyc
33.896 KB
-rw-r--r--
lzma.cpython-39.opt-1.pyc
11.823 KB
-rw-r--r--
lzma.cpython-39.opt-2.pyc
5.771 KB
-rw-r--r--
lzma.cpython-39.pyc
11.823 KB
-rw-r--r--
mailbox.cpython-39.opt-1.pyc
59.14 KB
-rw-r--r--
mailbox.cpython-39.opt-2.pyc
52.69 KB
-rw-r--r--
mailbox.cpython-39.pyc
59.192 KB
-rw-r--r--
mailcap.cpython-39.opt-1.pyc
7.082 KB
-rw-r--r--
mailcap.cpython-39.opt-2.pyc
5.549 KB
-rw-r--r--
mailcap.cpython-39.pyc
7.082 KB
-rw-r--r--
mimetypes.cpython-39.opt-1.pyc
15.652 KB
-rw-r--r--
mimetypes.cpython-39.opt-2.pyc
9.778 KB
-rw-r--r--
mimetypes.cpython-39.pyc
15.652 KB
-rw-r--r--
modulefinder.cpython-39.opt-1.pyc
15.718 KB
-rw-r--r--
modulefinder.cpython-39.opt-2.pyc
14.83 KB
-rw-r--r--
modulefinder.cpython-39.pyc
15.763 KB
-rw-r--r--
netrc.cpython-39.opt-1.pyc
3.707 KB
-rw-r--r--
netrc.cpython-39.opt-2.pyc
3.475 KB
-rw-r--r--
netrc.cpython-39.pyc
3.707 KB
-rw-r--r--
nntplib.cpython-39.opt-1.pyc
31.031 KB
-rw-r--r--
nntplib.cpython-39.opt-2.pyc
19.703 KB
-rw-r--r--
nntplib.cpython-39.pyc
31.031 KB
-rw-r--r--
ntpath.cpython-39.opt-1.pyc
14.478 KB
-rw-r--r--
ntpath.cpython-39.opt-2.pyc
12.475 KB
-rw-r--r--
ntpath.cpython-39.pyc
14.478 KB
-rw-r--r--
nturl2path.cpython-39.opt-1.pyc
1.718 KB
-rw-r--r--
nturl2path.cpython-39.opt-2.pyc
1.309 KB
-rw-r--r--
nturl2path.cpython-39.pyc
1.718 KB
-rw-r--r--
numbers.cpython-39.opt-1.pyc
12.043 KB
-rw-r--r--
numbers.cpython-39.opt-2.pyc
8.179 KB
-rw-r--r--
numbers.cpython-39.pyc
12.043 KB
-rw-r--r--
opcode.cpython-39.opt-1.pyc
5.113 KB
-rw-r--r--
opcode.cpython-39.opt-2.pyc
4.976 KB
-rw-r--r--
opcode.cpython-39.pyc
5.113 KB
-rw-r--r--
operator.cpython-39.opt-1.pyc
13.474 KB
-rw-r--r--
operator.cpython-39.opt-2.pyc
11.141 KB
-rw-r--r--
operator.cpython-39.pyc
13.474 KB
-rw-r--r--
optparse.cpython-39.opt-1.pyc
46.778 KB
-rw-r--r--
optparse.cpython-39.opt-2.pyc
34.752 KB
-rw-r--r--
optparse.cpython-39.pyc
46.832 KB
-rw-r--r--
os.cpython-39.opt-1.pyc
30.901 KB
-rw-r--r--
os.cpython-39.opt-2.pyc
18.997 KB
-rw-r--r--
os.cpython-39.pyc
30.917 KB
-rw-r--r--
pathlib.cpython-39.opt-1.pyc
42.521 KB
-rw-r--r--
pathlib.cpython-39.opt-2.pyc
33.868 KB
-rw-r--r--
pathlib.cpython-39.pyc
42.521 KB
-rw-r--r--
pdb.cpython-39.opt-1.pyc
46.445 KB
-rw-r--r--
pdb.cpython-39.opt-2.pyc
32.704 KB
-rw-r--r--
pdb.cpython-39.pyc
46.483 KB
-rw-r--r--
pickle.cpython-39.opt-1.pyc
45.923 KB
-rw-r--r--
pickle.cpython-39.opt-2.pyc
40.19 KB
-rw-r--r--
pickle.cpython-39.pyc
46.007 KB
-rw-r--r--
pickletools.cpython-39.opt-1.pyc
64.752 KB
-rw-r--r--
pickletools.cpython-39.opt-2.pyc
55.872 KB
-rw-r--r--
pickletools.cpython-39.pyc
65.547 KB
-rw-r--r--
pipes.cpython-39.opt-1.pyc
7.625 KB
-rw-r--r--
pipes.cpython-39.opt-2.pyc
4.825 KB
-rw-r--r--
pipes.cpython-39.pyc
7.625 KB
-rw-r--r--
pkgutil.cpython-39.opt-1.pyc
18.144 KB
-rw-r--r--
pkgutil.cpython-39.opt-2.pyc
11.602 KB
-rw-r--r--
pkgutil.cpython-39.pyc
18.144 KB
-rw-r--r--
platform.cpython-39.opt-1.pyc
25.81 KB
-rw-r--r--
platform.cpython-39.opt-2.pyc
17.931 KB
-rw-r--r--
platform.cpython-39.pyc
25.81 KB
-rw-r--r--
plistlib.cpython-39.opt-1.pyc
22.958 KB
-rw-r--r--
plistlib.cpython-39.opt-2.pyc
20.654 KB
-rw-r--r--
plistlib.cpython-39.pyc
23.008 KB
-rw-r--r--
poplib.cpython-39.opt-1.pyc
13.35 KB
-rw-r--r--
poplib.cpython-39.opt-2.pyc
8.535 KB
-rw-r--r--
poplib.cpython-39.pyc
13.35 KB
-rw-r--r--
posixpath.cpython-39.opt-1.pyc
10.373 KB
-rw-r--r--
posixpath.cpython-39.opt-2.pyc
8.698 KB
-rw-r--r--
posixpath.cpython-39.pyc
10.373 KB
-rw-r--r--
pprint.cpython-39.opt-1.pyc
16.416 KB
-rw-r--r--
pprint.cpython-39.opt-2.pyc
14.31 KB
-rw-r--r--
pprint.cpython-39.pyc
16.448 KB
-rw-r--r--
profile.cpython-39.opt-1.pyc
13.902 KB
-rw-r--r--
profile.cpython-39.opt-2.pyc
10.994 KB
-rw-r--r--
profile.cpython-39.pyc
14.086 KB
-rw-r--r--
pstats.cpython-39.opt-1.pyc
23.208 KB
-rw-r--r--
pstats.cpython-39.opt-2.pyc
20.367 KB
-rw-r--r--
pstats.cpython-39.pyc
23.208 KB
-rw-r--r--
pty.cpython-39.opt-1.pyc
3.876 KB
-rw-r--r--
pty.cpython-39.opt-2.pyc
3.051 KB
-rw-r--r--
pty.cpython-39.pyc
3.876 KB
-rw-r--r--
py_compile.cpython-39.opt-1.pyc
7.235 KB
-rw-r--r--
py_compile.cpython-39.opt-2.pyc
3.585 KB
-rw-r--r--
py_compile.cpython-39.pyc
7.235 KB
-rw-r--r--
pyclbr.cpython-39.opt-1.pyc
10.217 KB
-rw-r--r--
pyclbr.cpython-39.opt-2.pyc
6.7 KB
-rw-r--r--
pyclbr.cpython-39.pyc
10.217 KB
-rw-r--r--
pydoc.cpython-39.opt-1.pyc
83.438 KB
-rw-r--r--
pydoc.cpython-39.opt-2.pyc
73.788 KB
-rw-r--r--
pydoc.cpython-39.pyc
83.47 KB
-rw-r--r--
queue.cpython-39.opt-1.pyc
10.634 KB
-rw-r--r--
queue.cpython-39.opt-2.pyc
6.386 KB
-rw-r--r--
queue.cpython-39.pyc
10.634 KB
-rw-r--r--
quopri.cpython-39.opt-1.pyc
5.484 KB
-rw-r--r--
quopri.cpython-39.opt-2.pyc
4.473 KB
-rw-r--r--
quopri.cpython-39.pyc
5.625 KB
-rw-r--r--
random.cpython-39.opt-1.pyc
21.539 KB
-rw-r--r--
random.cpython-39.opt-2.pyc
14.267 KB
-rw-r--r--
random.cpython-39.pyc
21.539 KB
-rw-r--r--
re.cpython-39.opt-1.pyc
14.038 KB
-rw-r--r--
re.cpython-39.opt-2.pyc
5.896 KB
-rw-r--r--
re.cpython-39.pyc
14.038 KB
-rw-r--r--
reprlib.cpython-39.opt-1.pyc
5.195 KB
-rw-r--r--
reprlib.cpython-39.opt-2.pyc
5.043 KB
-rw-r--r--
reprlib.cpython-39.pyc
5.195 KB
-rw-r--r--
rlcompleter.cpython-39.opt-1.pyc
5.683 KB
-rw-r--r--
rlcompleter.cpython-39.opt-2.pyc
3.082 KB
-rw-r--r--
rlcompleter.cpython-39.pyc
5.683 KB
-rw-r--r--
runpy.cpython-39.opt-1.pyc
9.178 KB
-rw-r--r--
runpy.cpython-39.opt-2.pyc
6.793 KB
-rw-r--r--
runpy.cpython-39.pyc
9.178 KB
-rw-r--r--
sched.cpython-39.opt-1.pyc
6.49 KB
-rw-r--r--
sched.cpython-39.opt-2.pyc
3.533 KB
-rw-r--r--
sched.cpython-39.pyc
6.49 KB
-rw-r--r--
secrets.cpython-39.opt-1.pyc
2.142 KB
-rw-r--r--
secrets.cpython-39.opt-2.pyc
1.108 KB
-rw-r--r--
secrets.cpython-39.pyc
2.142 KB
-rw-r--r--
selectors.cpython-39.opt-1.pyc
16.854 KB
-rw-r--r--
selectors.cpython-39.opt-2.pyc
12.841 KB
-rw-r--r--
selectors.cpython-39.pyc
16.854 KB
-rw-r--r--
shelve.cpython-39.opt-1.pyc
9.333 KB
-rw-r--r--
shelve.cpython-39.opt-2.pyc
5.279 KB
-rw-r--r--
shelve.cpython-39.pyc
9.333 KB
-rw-r--r--
shlex.cpython-39.opt-1.pyc
7.565 KB
-rw-r--r--
shlex.cpython-39.opt-2.pyc
7.021 KB
-rw-r--r--
shlex.cpython-39.pyc
7.565 KB
-rw-r--r--
shutil.cpython-39.opt-1.pyc
37.607 KB
-rw-r--r--
shutil.cpython-39.opt-2.pyc
25.822 KB
-rw-r--r--
shutil.cpython-39.pyc
37.607 KB
-rw-r--r--
signal.cpython-39.opt-1.pyc
2.948 KB
-rw-r--r--
signal.cpython-39.opt-2.pyc
2.729 KB
-rw-r--r--
signal.cpython-39.pyc
2.948 KB
-rw-r--r--
site.cpython-39.opt-1.pyc
16.624 KB
-rw-r--r--
site.cpython-39.opt-2.pyc
11.218 KB
-rw-r--r--
site.cpython-39.pyc
16.624 KB
-rw-r--r--
smtpd.cpython-39.opt-1.pyc
25.915 KB
-rw-r--r--
smtpd.cpython-39.opt-2.pyc
23.356 KB
-rw-r--r--
smtpd.cpython-39.pyc
25.915 KB
-rw-r--r--
smtplib.cpython-39.opt-1.pyc
35.057 KB
-rw-r--r--
smtplib.cpython-39.opt-2.pyc
19.078 KB
-rw-r--r--
smtplib.cpython-39.pyc
35.101 KB
-rw-r--r--
sndhdr.cpython-39.opt-1.pyc
6.842 KB
-rw-r--r--
sndhdr.cpython-39.opt-2.pyc
5.597 KB
-rw-r--r--
sndhdr.cpython-39.pyc
6.842 KB
-rw-r--r--
socket.cpython-39.opt-1.pyc
28.31 KB
-rw-r--r--
socket.cpython-39.opt-2.pyc
19.971 KB
-rw-r--r--
socket.cpython-39.pyc
28.333 KB
-rw-r--r--
socketserver.cpython-39.opt-1.pyc
24.93 KB
-rw-r--r--
socketserver.cpython-39.opt-2.pyc
14.465 KB
-rw-r--r--
socketserver.cpython-39.pyc
24.93 KB
-rw-r--r--
sre_compile.cpython-39.opt-1.pyc
14.621 KB
-rw-r--r--
sre_compile.cpython-39.opt-2.pyc
14.217 KB
-rw-r--r--
sre_compile.cpython-39.pyc
14.812 KB
-rw-r--r--
sre_constants.cpython-39.opt-1.pyc
6.2 KB
-rw-r--r--
sre_constants.cpython-39.opt-2.pyc
5.785 KB
-rw-r--r--
sre_constants.cpython-39.pyc
6.2 KB
-rw-r--r--
sre_parse.cpython-39.opt-1.pyc
21.274 KB
-rw-r--r--
sre_parse.cpython-39.opt-2.pyc
21.228 KB
-rw-r--r--
sre_parse.cpython-39.pyc
21.311 KB
-rw-r--r--
ssl.cpython-39.opt-1.pyc
44.014 KB
-rw-r--r--
ssl.cpython-39.opt-2.pyc
33.287 KB
-rw-r--r--
ssl.cpython-39.pyc
44.014 KB
-rw-r--r--
stat.cpython-39.opt-1.pyc
4.282 KB
-rw-r--r--
stat.cpython-39.opt-2.pyc
3.518 KB
-rw-r--r--
stat.cpython-39.pyc
4.282 KB
-rw-r--r--
statistics.cpython-39.opt-1.pyc
31.052 KB
-rw-r--r--
statistics.cpython-39.opt-2.pyc
15.551 KB
-rw-r--r--
statistics.cpython-39.pyc
31.241 KB
-rw-r--r--
string.cpython-39.opt-1.pyc
7.01 KB
-rw-r--r--
string.cpython-39.opt-2.pyc
5.93 KB
-rw-r--r--
string.cpython-39.pyc
7.01 KB
-rw-r--r--
stringprep.cpython-39.opt-1.pyc
9.726 KB
-rw-r--r--
stringprep.cpython-39.opt-2.pyc
9.513 KB
-rw-r--r--
stringprep.cpython-39.pyc
9.765 KB
-rw-r--r--
struct.cpython-39.opt-1.pyc
0.312 KB
-rw-r--r--
struct.cpython-39.opt-2.pyc
0.312 KB
-rw-r--r--
struct.cpython-39.pyc
0.312 KB
-rw-r--r--
subprocess.cpython-39.opt-1.pyc
43.284 KB
-rw-r--r--
subprocess.cpython-39.opt-2.pyc
31.528 KB
-rw-r--r--
subprocess.cpython-39.pyc
43.358 KB
-rw-r--r--
sunau.cpython-39.opt-1.pyc
16.436 KB
-rw-r--r--
sunau.cpython-39.opt-2.pyc
11.953 KB
-rw-r--r--
sunau.cpython-39.pyc
16.436 KB
-rw-r--r--
symbol.cpython-39.opt-1.pyc
2.531 KB
-rw-r--r--
symbol.cpython-39.opt-2.pyc
2.457 KB
-rw-r--r--
symbol.cpython-39.pyc
2.531 KB
-rw-r--r--
symtable.cpython-39.opt-1.pyc
10.841 KB
-rw-r--r--
symtable.cpython-39.opt-2.pyc
10.129 KB
-rw-r--r--
symtable.cpython-39.pyc
10.917 KB
-rw-r--r--
sysconfig.cpython-39.opt-1.pyc
15.703 KB
-rw-r--r--
sysconfig.cpython-39.opt-2.pyc
13.381 KB
-rw-r--r--
sysconfig.cpython-39.pyc
15.703 KB
-rw-r--r--
tabnanny.cpython-39.opt-1.pyc
6.912 KB
-rw-r--r--
tabnanny.cpython-39.opt-2.pyc
6.001 KB
-rw-r--r--
tabnanny.cpython-39.pyc
6.912 KB
-rw-r--r--
tarfile.cpython-39.opt-1.pyc
71.115 KB
-rw-r--r--
tarfile.cpython-39.opt-2.pyc
56.215 KB
-rw-r--r--
tarfile.cpython-39.pyc
71.13 KB
-rw-r--r--
telnetlib.cpython-39.opt-1.pyc
17.914 KB
-rw-r--r--
telnetlib.cpython-39.opt-2.pyc
10.588 KB
-rw-r--r--
telnetlib.cpython-39.pyc
17.914 KB
-rw-r--r--
tempfile.cpython-39.opt-1.pyc
23.114 KB
-rw-r--r--
tempfile.cpython-39.opt-2.pyc
16.741 KB
-rw-r--r--
tempfile.cpython-39.pyc
23.114 KB
-rw-r--r--
textwrap.cpython-39.opt-1.pyc
13.16 KB
-rw-r--r--
textwrap.cpython-39.opt-2.pyc
6.12 KB
-rw-r--r--
textwrap.cpython-39.pyc
13.217 KB
-rw-r--r--
this.cpython-39.opt-1.pyc
1.242 KB
-rw-r--r--
this.cpython-39.opt-2.pyc
1.242 KB
-rw-r--r--
this.cpython-39.pyc
1.242 KB
-rw-r--r--
threading.cpython-39.opt-1.pyc
40.751 KB
-rw-r--r--
threading.cpython-39.opt-2.pyc
23.967 KB
-rw-r--r--
threading.cpython-39.pyc
41.205 KB
-rw-r--r--
timeit.cpython-39.opt-1.pyc
11.493 KB
-rw-r--r--
timeit.cpython-39.opt-2.pyc
5.776 KB
-rw-r--r--
timeit.cpython-39.pyc
11.493 KB
-rw-r--r--
token.cpython-39.opt-1.pyc
2.45 KB
-rw-r--r--
token.cpython-39.opt-2.pyc
2.418 KB
-rw-r--r--
token.cpython-39.pyc
2.45 KB
-rw-r--r--
tokenize.cpython-39.opt-1.pyc
16.748 KB
-rw-r--r--
tokenize.cpython-39.opt-2.pyc
13.072 KB
-rw-r--r--
tokenize.cpython-39.pyc
16.775 KB
-rw-r--r--
trace.cpython-39.opt-1.pyc
19.309 KB
-rw-r--r--
trace.cpython-39.opt-2.pyc
16.364 KB
-rw-r--r--
trace.cpython-39.pyc
19.309 KB
-rw-r--r--
traceback.cpython-39.opt-1.pyc
19.974 KB
-rw-r--r--
traceback.cpython-39.opt-2.pyc
11.23 KB
-rw-r--r--
traceback.cpython-39.pyc
19.974 KB
-rw-r--r--
tracemalloc.cpython-39.opt-1.pyc
17.527 KB
-rw-r--r--
tracemalloc.cpython-39.opt-2.pyc
16.147 KB
-rw-r--r--
tracemalloc.cpython-39.pyc
17.527 KB
-rw-r--r--
tty.cpython-39.opt-1.pyc
1.065 KB
-rw-r--r--
tty.cpython-39.opt-2.pyc
0.959 KB
-rw-r--r--
tty.cpython-39.pyc
1.065 KB
-rw-r--r--
types.cpython-39.opt-1.pyc
9.032 KB
-rw-r--r--
types.cpython-39.opt-2.pyc
7.839 KB
-rw-r--r--
types.cpython-39.pyc
9.032 KB
-rw-r--r--
typing.cpython-39.opt-1.pyc
70.135 KB
-rw-r--r--
typing.cpython-39.opt-2.pyc
49.385 KB
-rw-r--r--
typing.cpython-39.pyc
70.262 KB
-rw-r--r--
uu.cpython-39.opt-1.pyc
3.77 KB
-rw-r--r--
uu.cpython-39.opt-2.pyc
3.531 KB
-rw-r--r--
uu.cpython-39.pyc
3.77 KB
-rw-r--r--
uuid.cpython-39.opt-1.pyc
21.885 KB
-rw-r--r--
uuid.cpython-39.opt-2.pyc
14.353 KB
-rw-r--r--
uuid.cpython-39.pyc
21.995 KB
-rw-r--r--
warnings.cpython-39.opt-1.pyc
12.87 KB
-rw-r--r--
warnings.cpython-39.opt-2.pyc
10.648 KB
-rw-r--r--
warnings.cpython-39.pyc
13.299 KB
-rw-r--r--
wave.cpython-39.opt-1.pyc
17.438 KB
-rw-r--r--
wave.cpython-39.opt-2.pyc
11.587 KB
-rw-r--r--
wave.cpython-39.pyc
17.467 KB
-rw-r--r--
weakref.cpython-39.opt-1.pyc
19.809 KB
-rw-r--r--
weakref.cpython-39.opt-2.pyc
16.601 KB
-rw-r--r--
weakref.cpython-39.pyc
19.822 KB
-rw-r--r--
webbrowser.cpython-39.opt-1.pyc
16.729 KB
-rw-r--r--
webbrowser.cpython-39.opt-2.pyc
14.375 KB
-rw-r--r--
webbrowser.cpython-39.pyc
16.745 KB
-rw-r--r--
xdrlib.cpython-39.opt-1.pyc
8.063 KB
-rw-r--r--
xdrlib.cpython-39.opt-2.pyc
7.589 KB
-rw-r--r--
xdrlib.cpython-39.pyc
8.063 KB
-rw-r--r--
zipapp.cpython-39.opt-1.pyc
5.857 KB
-rw-r--r--
zipapp.cpython-39.opt-2.pyc
4.709 KB
-rw-r--r--
zipapp.cpython-39.pyc
5.857 KB
-rw-r--r--
zipfile.cpython-39.opt-1.pyc
58.167 KB
-rw-r--r--
zipfile.cpython-39.opt-2.pyc
49.39 KB
-rw-r--r--
zipfile.cpython-39.pyc
58.188 KB
-rw-r--r--
zipimport.cpython-39.opt-1.pyc
16.77 KB
-rw-r--r--
zipimport.cpython-39.opt-2.pyc
13.334 KB
-rw-r--r--
zipimport.cpython-39.pyc
16.846 KB
-rw-r--r--