Automatic Type Conversion to String
Bruce Eckel
lists.eckel at gmail.com
Mon Feb 13 18:18:55 EST 2012
More information about the Python-list mailing list
Mon Feb 13 18:18:55 EST 2012
- Previous message (by thread): Automatic Type Conversion to String
- Next message (by thread): Automatic Type Conversion to String
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm willing to subclass str, but when I tried it before it became a little confusing -- I think mostly because anytime I assigned to self it seemed like it converted the whole object to a str rather than a Path. I suspect I don't know the proper idiom for doing this -- any hints? Thanks ...
- Previous message (by thread): Automatic Type Conversion to String
- Next message (by thread): Automatic Type Conversion to String
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list