Writing a string.ishex function

MRAB python at mrabarnett.plus.com
Thu Jan 14 14:07:09 EST 2010


Phlip wrote:
> MRAB wrote:
> 
>> BTW, ishex('') should return False.
> 
> So should int('')!

Why?



More information about the Python-list mailing list