Skip to content

Commit ca583b6

Browse files
committed
#8691: document that right alignment is default for numbers.
1 parent a5770aa commit ca583b6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/ACKS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ docs@python.org), and we'll be glad to correct the problem.
130130
* Andrew MacIntyre
131131
* Vladimir Marangozov
132132
* Vincent Marchetti
133+
* Westley Martínez
133134
* Laura Matson
134135
* Daniel May
135136
* Rebecca McCreary

Doc/library/string.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,10 @@ The meaning of the various alignment options is as follows:
310310
| Option | Meaning |
311311
+=========+==========================================================+
312312
| ``'<'`` | Forces the field to be left-aligned within the available |
313-
| | space (this is the default). |
313+
| | space (this is the default for most objects). |
314314
+---------+----------------------------------------------------------+
315315
| ``'>'`` | Forces the field to be right-aligned within the |
316-
| | available space. |
316+
| | available space (this is the default for numbers). |
317317
+---------+----------------------------------------------------------+
318318
| ``'='`` | Forces the padding to be placed after the sign (if any) |
319319
| | but before the digits. This is used for printing fields |

0 commit comments

Comments
 (0)