Message 81869 - Python tracker
Message81869
| Author | LambertDW |
|---|---|
| Recipients | LambertDW, eric.smith, terry.reedy |
| Date | 2009-02-13.03:56:15 |
| SpamBayes Score | 3.872817e-08 |
| Marked as misclassified | No |
| Message-id | <1234497376.88.0.295427967453.issue5237@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I am net yet fluent in format method. I meant
":" where "#" appeared.
Anyway, I think you need the colon.
If from
print('{0:9}'.format(33))
you make the argument number implicit and remove the colon you'd get
print('{9}'.format(33))
which does and should raise IndexError. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-02-13 03:56:16 | LambertDW | set | recipients: + LambertDW, terry.reedy, eric.smith |
| 2009-02-13 03:56:16 | LambertDW | set | messageid: <1234497376.88.0.295427967453.issue5237@psf.upfronthosting.co.za> |
| 2009-02-13 03:56:15 | LambertDW | link | issue5237 messages |
| 2009-02-13 03:56:15 | LambertDW | create | |