math.dist documentation: add 'strict=True' to equivalent code (#141819)

This commit is contained in:
Mark Dufour 2025-11-24 00:33:27 +01:00 committed by GitHub
parent 4fe6e81d84
commit 23b67aa037
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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