From: Mark Dufour Date: Sun, 23 Nov 2025 23:33:27 +0000 (+0100) Subject: math.dist documentation: add 'strict=True' to equivalent code (#141819) X-Git-Tag: v3.15.0a3~305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23b67aa037cbb89b2a3d2c5fc716ca18f5b15b87;p=thirdparty%2FPython%2Fcpython.git math.dist documentation: add 'strict=True' to equivalent code (#141819) --- diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 186f99e95915..d2ff74822f97 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