Question from a python newbie

Duncan Booth duncan.booth at invalid.invalid
Thu Dec 13 10:46:35 EST 2007


Russell <rcooknet at gmail.com> wrote:

>  I've searched the Language
> Reference and was not able to find any info regarding the structure of
> this code fragment:
> 
> int(text) if text.isdigit() else text

http://docs.python.org/whatsnew/pep-308.html



More information about the Python-list mailing list