Skip to content

Conversation

@skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Jan 10, 2025

  • added a direct reference to a floating-point model used
  • and few examples for formatted string output

📚 Documentation preview 📚: https://cpython-previews--128698.org.readthedocs.build/

* added a direct reference to a floating-point model used
* and few examples for formatted string output
Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

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

Everything looks good to me

@skirpichev skirpichev requested a review from ericvsmith January 24, 2025 02:39
@skirpichev
Copy link
Contributor Author

@ericvsmith, refs to format/f-strings - added.

@ericvsmith
Copy link
Member

@ericvsmith, refs to format/f-strings - added.

I think that's good. It doesn't mention str.format, but that's not so important any more and I hope that anyone who really cares about it knows that it's all based on __format__.

@skirpichev
Copy link
Contributor Author

It doesn't mention str.format, but that's not so important

I think this will be too verbose, it's already mention the format() builtin docs, which has links to __format__ and then to str.format()

@ericvsmith
Copy link
Member

It doesn't mention str.format, but that's not so important

I think this will be too verbose, it's already mention the format() builtin docs, which has links to __format__ and then to str.format()

Agreed.

@hugovk hugovk enabled auto-merge (squash) December 16, 2025 11:34
@hugovk hugovk merged commit 2450be6 into python:main Dec 16, 2025
28 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Dec 16, 2025
@miss-islington-app
Copy link

Thanks @skirpichev for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 16, 2025
(cherry picked from commit 2450be6)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: RUANG (James Roy) <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 16, 2025
(cherry picked from commit 2450be6)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: RUANG (James Roy) <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Dec 16, 2025

GH-142804 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Dec 16, 2025
@bedevere-app
Copy link

bedevere-app bot commented Dec 16, 2025

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

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Dec 16, 2025
@skirpichev skirpichev deleted the decimal-docs branch December 16, 2025 11:43
kumaraditya303 pushed a commit that referenced this pull request Dec 17, 2025
…2804)

decimal docs: specification link and examples (GH-128698)
(cherry picked from commit 2450be6)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: RUANG (James Roy) <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
kumaraditya303 pushed a commit that referenced this pull request Dec 17, 2025
…2805)

decimal docs: specification link and examples (GH-128698)
(cherry picked from commit 2450be6)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Co-authored-by: RUANG (James Roy) <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants