Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-131885: simplify function signatures in the cmath module#131886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
Show all changes
9 commits Select commitHold shift + click to select a range
769c65f
gh-125957: sync argument naming in sphinx docs of the cmath and help()
skirpichevf34de6a
+ allow cmath.sin(z=1) syntax
skirpichev680e7bf
Merge branch 'master' into fix-cmath-sig-125957
skirpichev57cc455
Revert second commit
skirpichevec3754e
Apply suggestions from code review
skirpichevab38770
Merge branch 'master' into fix-cmath-sig-125957
skirpichev6548be0
gh-131885: simplify function signatures in the cmath module
skirpichev26085bb
+ make regen-all
skirpichev375b117
Merge branch 'main' into cmath-signatures/131885
skirpichevFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
+ allow cmath.sin(z=1) syntax
In the main:$ ./python -m timeit -r11 -s 'from cmath import sin;z=1j' 'sin(z)'1000000 loops, best of 11: 312 nsec per loopWith patch:$ ./python -m timeit -r11 -s 'from cmath import sin;z=1j' 'sin(z)'1000000 loops, best of 11: 330 nsec per loop
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitf34de6af4d0428d68422ab95c8e57db68d9022d0
There are no files selected for viewing
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.