Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-130664: specify how thousands separators are used with 0-padding#131030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
skirpichev wants to merge7 commits intopython:main
base:main
Choose a base branch
Loading
fromskirpichev:fill-docs/130664
Open
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update Doc/library/string.rst
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
  • Loading branch information
@skirpichev@effigies
skirpichev andeffigies authoredMar 10, 2025
commit3304ed2f5b2cb7a696c6e8d71b10a6772489971e
4 changes: 2 additions & 2 deletionsDoc/library/string.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -450,8 +450,8 @@ When no explicit alignment is given, preceding the *width* field by a zero
(``'0'``) character enables sign-aware zero-padding for numeric types,
excluding :class:`complex`. This is equivalent to a *fill* character of
``'0'`` with an *alignment* type of ``'='``. If thousands separators
are used (as specified either by ``'_'`` or ``','`` option), theyplaced
also between leading zeros.
are used (as specified either by ``'_'`` or ``','`` option), theyare also
placed between leading zeros.

.. versionchanged:: 3.10
Preceding the *width* field by ``'0'`` no longer affects the default
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp