This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:16LambertDWsetrecipients: + LambertDW, terry.reedy, eric.smith
2009-02-13 03:56:16LambertDWsetmessageid: <1234497376.88.0.295427967453.issue5237@psf.upfronthosting.co.za>
2009-02-13 03:56:15LambertDWlinkissue5237 messages
2009-02-13 03:56:15LambertDWcreate