Files
cpython/Doc/library
Miss Islington (bot) 41d7b3cf49 [3.15] gh-151949: Fix Sphinx reference warnings in Doc/library/lzma.rst (GH-153878) (#154127)
* gh-151949: Fix Sphinx reference warnings in `Doc/library/lzma.rst` (GH-153878)

The lzma module constants (FORMAT_*, CHECK_*, PRESET_*, FILTER_*, MODE_*
and MF_*) were referenced with the :const: role throughout the module
documentation but were never defined as reference targets, producing
"reference target not found" warnings under nitpicky mode.

Document these public constants with .. data:: directives, following the
convention used by the signal, socket and ssl modules, so the existing
references resolve. The now-redundant inline descriptions of the format
and check constants are condensed into linked references.
(cherry picked from commit 1530b38c82)

Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>

* Fix nitpicks

---------

Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-07-23 09:48:12 +02:00
..
2025-01-14 13:52:58 +02:00
2025-05-06 18:33:52 +03:00
2026-07-18 09:57:43 +02:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-04-07 14:24:03 +03:00
2026-03-10 14:31:15 +02:00
2026-03-10 14:31:15 +02:00
2026-01-14 16:41:32 +02:00
2026-02-11 14:23:15 +02:00
2026-05-07 16:26:31 +03:00
2026-06-02 18:28:41 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-04-07 14:24:03 +03:00
2026-05-07 16:26:31 +03:00