Implicit Conversions
John Roth
newsgroups at jhrothjr.com
Sun Dec 14 18:54:21 EST 2003
More information about the Python-list mailing list
Sun Dec 14 18:54:21 EST 2003
- Previous message (by thread): Implicit Conversions
- Next message (by thread): piddle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The coercion rules are documented in the Python Reference Manual under Data Model - Special Method Names - Coercion Rules. John Roth "ReneƩ" <rlogan at hmc.edu> wrote in message news:mailman.112.1071251837.9307.python-list at python.org... I wanted to know the order of implicit conversions and which sort of values allow them. From searching around in books and the archive of this mailing list, it seems to be that only numbers are implicitly converted within each other and bools can be implicitly converted to ints? However, I'm unable to find any other implicit conversions and the order of the implicit conversions (something like int->float->long). Any help would be greatly apprectiated. Also, I'm not on the mailing list so can everyone please cc me in the replies? ReneƩ
- Previous message (by thread): Implicit Conversions
- Next message (by thread): piddle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list