mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
This commit is contained in:
commit
c2ccce791c
19 changed files with 86 additions and 124 deletions
|
@ -1021,7 +1021,7 @@ FUNC1(tanh, tanh, 0,
|
|||
Note 4: A similar implementation is in Modules/cmathmodule.c.
|
||||
Be sure to update both when making changes.
|
||||
|
||||
Note 5: The signature of math.fsum() differs from __builtin__.sum()
|
||||
Note 5: The signature of math.fsum() differs from builtins.sum()
|
||||
because the start argument doesn't make sense in the context of
|
||||
accurate summation. Since the partials table is collapsed before
|
||||
returning a result, sum(seq2, start=sum(seq1)) may not equal the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue