| Server IP : 146.190.157.162 / Your IP : 216.73.216.105 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3.11/__pycache__/ |
Upload File : |
�
��flE � � � d Z g d�ZddlmZ ddlmZ ddlm Z edd� � Z
d� Z G d � d
� � Zd+d
�Z
d� Z G d� d� � ZddlZ ej d� � j fd�Zd,d�Zd� Z d-d�Zd� Z d-d�Zd� Z d.d�Zdefd �Zddefd!�Zd"Zd#Zd$Zd%Z G d&� d'e!� � Z"[d(� Z#d)� Z$e%d*k r e$� � dS 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 � � |rd| z |z S dS )Ng @� �?� )�matches�lengths �/usr/lib/python3.11/difflib.py�_calculate_ratior '