Message159955
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' |
|
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 | |
|