mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
math.dist documentation: add 'strict=True' to equivalent code (#141819)
This commit is contained in:
parent
4fe6e81d84
commit
23b67aa037
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue