https://github.com/python/cpython/commit/23b67aa037cbb89b2a3d2c5fc716ca18f5b15b87
commit: 23b67aa037cbb89b2a3d2c5fc716ca18f5b15b87
branch: main
author: Mark Dufour <[email protected]>
committer: rhettinger <[email protected]>
date: 2025-11-23T17:33:27-06:00
summary:
math.dist documentation: add 'strict=True' to equivalent code (#141819)
files:
M Doc/library/math.rst
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 186f99e9591546..d2ff74822f97ea 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]