| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python37/lib64/python3.7/__pycache__/ |
Upload File : |
B
�Ǫ�9���� @ s8 d Z ddddddddd d
ddgZd
dlmZ d
dlmZ edd�Zdd� Z G dd� d�Z
d8dd�Zdd� ZG dd� d�Z
d
dlZe�d�jfdd�Zd9dd�Zdd � Zd:d#d �Zd$d%� Zd;d&d�Zd'd(� Zd<d+d
�Zdefd,d�Zddefd-d.�Zd/Zd0Zd1Zd2ZG d3d� de�Z [d4d� Z!d5d6� Z"e#d7k�r4e"� 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)�
namedtupleza b sizec C s |rd| | S dS )Ng @g �?� )�matches�lengthr r �,/opt/alt/python37/lib64/python3.7/difflib.py�_calculate_ratio&