difflib — Helpers for computing deltas — Python 3.16.0a0 documentation

docs.python.org

Table of Contents | re — Regular expression operations | textwrap — Text wrapping and filling | Report a bug | Improve this page | index | modules | Python | 3.16.0a0 Documentation | The Python Standard Library | Text Processing Services

Tin mới

re — Regular expression operations

textwrap — Text wrapping and filling

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Text Processing Services

io.IOBase.readlines

Compare two sequences of lines, and generate the delta (a sequence of lines).

controlled using environment variables

Compare a and b (lists of strings); return a delta (a generator generating the delta lines) in unified diff format.

1 1