gh-67790: Support basic formatting for Fraction by mdickinson · Pull Request #111320 · python/cpython
added 3 commits
mdickinson
changed the title
gh-67790: Support basic formatting in
gh-67790: Support basic formatting for FractionFraction.__format__
mdickinson
deleted the
fraction-format-d-presentation-type
branch
aisk pushed a commit to aisk/cpython that referenced this pull request
PR python#100161 added fancy float-style formatting for the Fraction type, but left us in a state where basic formatting for fractions (alignment, fill, minimum width, thousands separators) still wasn't supported. This PR adds that support. --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request
PR python#100161 added fancy float-style formatting for the Fraction type, but left us in a state where basic formatting for fractions (alignment, fill, minimum width, thousands separators) still wasn't supported. This PR adds that support. --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters