From 1b17c245f1ec88e8b78c197a0c5ab9e1803aed4c Mon Sep 17 00:00:00 2001 From: jsboige Date: Mon, 7 Sep 2026 09:23:52 +0200 Subject: [PATCH] fix(markdown-claims,#14982): escape \gamma in Family D1 docstring (SyntaxWarning) The docstring mixed \gamma (correct) with a lone \gamma (invalid \g escape, SyntaxWarning on py3.12+). Doubling the backslash on the one unescaped line keeps the rendered LaTeX identical and matches its two siblings. --- scripts/check_markdown_claims_output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_markdown_claims_output.py b/scripts/check_markdown_claims_output.py index 5d645b98fa..3025c70cc1 100644 --- a/scripts/check_markdown_claims_output.py +++ b/scripts/check_markdown_claims_output.py @@ -628,7 +628,7 @@ def _is_math_parameter_definition(prose: str, match_pos: int, match_end: int) -> symbol LHS, stays checked; - a greek symbol holding an ESTIMATED value (`$\\mu = 20.8$` read off a plot) is a citation too -- no definition verb on the line, stays - checked. The verb gate separates 'Avec $\gamma = 0.9$' (founding + checked. The verb gate separates 'Avec $\\gamma = 0.9$' (founding instance, DecPyMC-7 md[15]/md[19]) from it. """ span = _nearest_math_span(prose, match_pos)