Indicate that abs() method accept argument that implement __abs__(), …#7783
Indicate that abs() method accept argument that implement __abs__(), …#7783Windsooon wants to merge 1087 commits into
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. When your account is ready, please add a comment in this pull request Thanks again for your contribution, we look forward to reviewing it! |
Sorry, something went wrong.
|
I signed the CLA, Thank you for reviewing. |
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
jdemeyer
left a comment
There was a problem hiding this comment.
I think the wording could be improved: what does "The argument may be an integer or a floating point number." really mean now? You should explain that this applies to integers, floating point numbers, complex numbers and anything defining __abs__.
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
|
@Windsooon, please resolve the merge conflict and address the code review comments. Thank you! |
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
|
To make it easier, how about
|
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
|
Sorry for the mistake. I just fixed it. |
Sorry, something went wrong.
Yes, by using instead of a raw abs. I'm not a native english speaker but I think the first or is now redundent, what about: I'd maybe prefer a bit |
Sorry, something went wrong.
|
@JulienPalard Thank you. I updated the PR based on your suggestion. |
Sorry, something went wrong.
|
@Windsooon could you resolve the conflict? |
Sorry, something went wrong.
|
rebase commonly messes up branches and PRs with the cpython workflow. Did you do git merge in master before updating the branch? git merge upstream/master usually works. There might be a merge conflict, but not likely with a narrow PR like this one. You could still try merge on your local branch if not deleted yet. |
Sorry, something went wrong.
|
@terryjreedy Thank you. I just delete the old branch. However, I don't know why my PR will conflict with the current master branch. I will check it out later. |
Sorry, something went wrong.
…just like call() method in the docs