Writing a string.ishex function

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


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

Why?



More information about the Python-list mailing list