File: //usr/local/lib64/python3.8/site-packages/lxml/html/__pycache__/_difflib.cpython-38.pyc
U
O��i�K � @ sl d Z zddlZW n( ek
r8 G dd� d�Ze� ZY nX ddddd d
ddd
dddgZddlmZ ddlm Z
zddlmZ W n ek
r� dZY nX e
dd�Z
dd� ZG dd� d�Zd7dd�Zdd� ZG dd � d �Zd8dd�Zd9d d
�Zd!d"� Zd:d%d
�Zd&d'� Zd;d(d�Zd)d*� Zd<d-d�Zdefd.d�Zddefd/d0�Zd1Zd2Zd3Zd4Z G d5d� de!�Z"d6d� Z#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.
� Nc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �fake_cythonFc C s |S �N� )�self�funcr r �4/tmp/pip-install-gdmoqxf6/lxml/lxml/html/_difflib.py�cfunc% � zfake_cython.cfuncc C s |S r r )r �_�valuer r r �declare&