Skip to content

gh-110383: Clarify "non-integral" wording in pow() docs - #119688

Merged
erlend-aasland merged 6 commits into
python:mainfrom
adiaholic:fix-issue-110383
Jun 7, 2024
Merged

gh-110383: Clarify "non-integral" wording in pow() docs#119688
erlend-aasland merged 6 commits into
python:mainfrom
adiaholic:fix-issue-110383

Conversation

@adiaholic

@adiaholicadiaholic commented May 28, 2024

Copy link
Copy Markdown
Contributor

This PR is a fix for an issue listed in #110383.

Use widely used non-integer instead of non-integral.
While both terms can be used to mean the same thing, "non-integer number" is the more precise and commonly used term. "Non-integral number" might sometimes be used in a broader sense in certain mathematical contexts, but it generally carries the same meaning as "non-integer number" when referring to real numbers.

@bedevere-appbedevere-appBot added docs Documentation in the Doc dir skip news awaiting review labels May 28, 2024
@adiaholicadiaholic changed the title Pow() documentation - Use widely used non-integer instead of non-integralAdress two issues in #110383May 28, 2024
@adiaholicadiaholic changed the title Adress two issues in #110383Address two issues in #110383May 28, 2024
@adiaholicadiaholic changed the title Address two issues in #110383Address two issues from docs@python.orgMay 28, 2024
@davidlowryduda

Copy link
Copy Markdown
Contributor

You should rename this to have the issue number in the description. For example, calling it gh-110383: Address two issues from docs@python.org would better fit the naming convention.

Comment threadDoc/library/array.rst Outdated
@erlend-aaslanderlend-aasland changed the title Address two issues from docs@python.orggh-110383: Address two issues from docs@python.orgMay 29, 2024
@bedevere-appbedevere-appBot mentioned this pull request May 29, 2024
@erlend-aasland

Copy link
Copy Markdown
Contributor

Thanks for the PR! It is preferable to fix only one issue per PR; even one-liners. This is because different changes may have different backporting needs.

Comment threadDoc/library/functions.rst Outdated
@adiaholicadiaholic changed the title gh-110383: Address two issues from docs@python.orggh-110383: Pow - Use widely used non-integer instead of non-integralMay 29, 2024
@erlend-aaslanderlend-aasland changed the title gh-110383: Pow - Use widely used non-integer instead of non-integralgh-110383: Clarify "non-integral" wording in pow() docsMay 30, 2024
While both terms can be used to mean the same thing, "non-integer number" is the
more precise and commonly used term. "Non-integral number" might sometimes be used
in a broader sense in certain mathematical contexts, but it generally carries the
same meaning as "non-integer number" when referring to real numbers.

@erlend-aaslanderlend-aasland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the leading whitespace in L1565 (IIRC), this looks like an improvement to me. I'll wait for @mdickinson's thumbs up before landing, though.

Thanks!

Comment threadDoc/library/functions.rst Outdated
@erlend-aasland

Copy link
Copy Markdown
Contributor

ISTM Mark's remark has been addressed; I'll merge this later today :)

@mdickinson

Copy link
Copy Markdown
Member

ISTM Mark's remark has been addressed

Addressed indeed! Thank you.

@erlend-aasland
erlend-aasland merged commit 6646a9d into python:mainJun 7, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @adiaholic for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 7, 2024
…GH-119688)
(cherry picked from commit 6646a9d)
Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-120206 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Jun 7, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 7, 2024
…GH-119688)
(cherry picked from commit 6646a9d)
Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-120207 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Jun 7, 2024
@erlend-aasland

Copy link
Copy Markdown
Contributor

A big thanks to everyone involved :)

erlend-aasland pushed a commit that referenced this pull request Jun 7, 2024
…9688) (#120207)
(cherry picked from commit 6646a9d)
Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com>
erlend-aasland pushed a commit that referenced this pull request Jun 7, 2024
…9688) (#120206)
(cherry picked from commit 6646a9d)
Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com>
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@adiaholic@davidlowryduda@erlend-aasland@mdickinson