class documentation

class LinesChunk: (source)

View In Hierarchy

The LinesChunk object computes and stores the hash of some consecutive stripped lines of a lineset.

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable _fileid The name of the file from which the LinesChunk object is generated.
Instance Variable _hash The hash of some consecutive lines.
Instance Variable _index The index in the stripped lines that is the starting of consecutive lines.
def __eq__(self, o: Any) -> bool: (source)

Undocumented

def __hash__(self) -> int: (source)

Undocumented

def __init__(self, fileid: str, num_line: int, *lines: Iterable[str]): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

def __str__(self) -> str: (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

The name of the file from which the LinesChunk object is generated.

The hash of some consecutive lines.

The index in the stripped lines that is the starting of consecutive lines.