Skip to content

Commit 23b67aa

Browse files
authored
math.dist documentation: add 'strict=True' to equivalent code (#141819)
1 parent 4fe6e81 commit 23b67aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/math.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ Summation and product functions
506506

507507
Roughly equivalent to::
508508

509-
sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
509+
sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q, strict=True)))
510510

511511
.. versionadded:: 3.8
512512

0 commit comments

Comments
 (0)