Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
82510958
Commit
82510958
authored
Feb 07, 2011
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#8691: document that right alignment is default for numbers.
parent
71068684
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Doc/ACKS.txt
Doc/ACKS.txt
+1
-0
Doc/library/string.rst
Doc/library/string.rst
+2
-2
No files found.
Doc/ACKS.txt
View file @
82510958
...
@@ -130,6 +130,7 @@ docs@python.org), and we'll be glad to correct the problem.
...
@@ -130,6 +130,7 @@ docs@python.org), and we'll be glad to correct the problem.
* Andrew MacIntyre
* Andrew MacIntyre
* Vladimir Marangozov
* Vladimir Marangozov
* Vincent Marchetti
* Vincent Marchetti
* Westley Martínez
* Laura Matson
* Laura Matson
* Daniel May
* Daniel May
* Rebecca McCreary
* Rebecca McCreary
...
...
Doc/library/string.rst
View file @
82510958
...
@@ -310,10 +310,10 @@ The meaning of the various alignment options is as follows:
...
@@ -310,10 +310,10 @@ The meaning of the various alignment options is as follows:
| Option | Meaning |
| Option | Meaning |
+=========+==========================================================+
+=========+==========================================================+
| ``'<'`` | Forces the field to be left-aligned within the available |
| ``'<'`` | Forces the field to be left-aligned within the available |
| | space (this is the default
).
|
| | space (this is the default
for most objects).
|
+---------+----------------------------------------------------------+
+---------+----------------------------------------------------------+
| ``'>'`` | Forces the field to be right-aligned within the |
| ``'>'`` | Forces the field to be right-aligned within the |
| | available space
.
|
| | available space
(this is the default for numbers).
|
+---------+----------------------------------------------------------+
+---------+----------------------------------------------------------+
| ``'='`` | Forces the padding to be placed after the sign (if any) |
| ``'='`` | Forces the padding to be placed after the sign (if any) |
| | but before the digits. This is used for printing fields |
| | but before the digits. This is used for printing fields |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment