[Python-Dev] defaultdict proposal round three
"Martin v. Löwis"
martin at v.loewis.de
Tue Feb 21 01:41:50 CET 2006
More information about the Python-Dev mailing list
Tue Feb 21 01:41:50 CET 2006
- Previous message: [Python-Dev] defaultdict proposal round three
- Next message: [Python-Dev] defaultdict proposal round three
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Delaney, Timothy (Tim) wrote: > However, *because* Python uses duck typing, I tend to feel that > subclasses in Python *should* be drop-in replacements. If it's not a > drop-in replacement, then it should probably not subclass, but just use > duck typing (probably by wrapping). Inheritance is more about code reuse than about polymorphism. Regards, Martin
- Previous message: [Python-Dev] defaultdict proposal round three
- Next message: [Python-Dev] defaultdict proposal round three
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list