| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/__pycache__/ |
Upload File : |
a
�ikE � @ s0 d Z g d�ZddlmZ ddlmZ ddlm Z edd�Z
dd � ZG d
d� d�Zd:dd�Z
dd� ZG dd� 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 G d3d4� 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 sizec C s |rd| | S dS )Ng @� �?� )�matches�lengthr r �/usr/lib64/python3.9/difflib.py�_calculate_ratio'