gh-67790: Support basic formatting for Fraction by mdickinson · Pull Request #111320 · python/cpython · GitHub

github.com

Tin mới

mdickinson:fraction-format-d-presentation-type

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Implement __format__ for Fraction #67790

: Add integer-style formatting for Fraction type

awaiting core review

awaiting core review

Restore original line spacing in docs

gh-67790: Add integer-style formatting for fractions.Fraction mdickinson/cpython#2

Remove 'float-style', since it's now too specific

Tighten doc wording

View reviewed changes

Learn more about hiding disruptive comments

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

Merge branch 'main' into fraction-format-d-presentation-type

Remove support for 'd' presentation type; don't refer to integer-style

Fix single backtick

Fix grammar - 'or' is better than 'and' here

View reviewed changes

Doc/library/fractions.rst

Update invalid format tests

Fix a long line in the .rst source

View reviewed changes

Merge branch 'main' into fraction-format-d-presentation-type

Implement more general string formatting for Fraction, following CPyt…

Update python-quicktions to version 1.16 / rev 10 via SR 1140281

Update python-quicktions to version 1.16 / rev 10 via SR 1140281

Update python-quicktions to version 1.16 / rev 10 via SR 1140281

: Support basic formatting for Fraction (

: Support basic formatting for Fraction (