From 23b67aa037cbb89b2a3d2c5fc716ca18f5b15b87 Mon Sep 17 00:00:00 2001 From: Mark Dufour Date: Mon, 24 Nov 2025 00:33:27 +0100 Subject: [PATCH] math.dist documentation: add 'strict=True' to equivalent code (#141819) --- Doc/library/math.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 186f99e9591..d2ff74822f9 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -506,7 +506,7 @@ Summation and product functions Roughly equivalent to:: - sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q))) + sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q, strict=True))) .. versionadded:: 3.8