Message159955
| Author |
theisenm |
| Recipients |
theisenm |
| Date |
2012年05月04日.18:21:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336155672.66.0.579561581196.issue14723@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When I run this code: '{0:i}'.format(None)
I get this error:
ValueError: Unknown format code 'i' for object of type 'str'
This seems misleading because None is of Type 'NoneType'. I was expecting the error to say something to the effect of:
Unknown format code 'i' for object of type 'NoneType' |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月04日 18:21:12 | theisenm | set | recipients:
+ theisenm |
| 2012年05月04日 18:21:12 | theisenm | set | messageid: <1336155672.66.0.579561581196.issue14723@psf.upfronthosting.co.za> |
| 2012年05月04日 18:21:12 | theisenm | link | issue14723 messages |
| 2012年05月04日 18:21:11 | theisenm | create |
|