diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-02-26 11:55:25 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-26 11:55:25 (GMT) |
| commit | 626f471d88bb611a0bbb4966e09798b2cf81818d (patch) | |
| tree | d45cfd6cbcc0d8269d0b1888366d8cade5b2c08b /Python/import.c | |
| parent | 7a0dc8a802814503eb93662a3486b890de070734 (diff) | |
| download | cpython-626f471d88bb611a0bbb4966e09798b2cf81818d.zip cpython-626f471d88bb611a0bbb4966e09798b2cf81818d.tar.gz cpython-626f471d88bb611a0bbb4966e09798b2cf81818d.tar.bz2 | |
[3.11] gh-85417: Clarify behaviour on branch cuts in cmath module (GH-102046) (#102276)
gh-85417: Clarify behaviour on branch cuts in cmath module (GH-102046)
This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros.
* Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts
* Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour
(cherry picked from commit b513c46d998344dc07eb6d510782c2e23d2b859e)
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions
