Commit 82510958 authored by Georg Brandl's avatar Georg Brandl

#8691: document that right alignment is default for numbers.

parent 71068684
...@@ -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
......
...@@ -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 |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment