3 ms·
... and Poe's law strikes again.
by olalonde 13y ago
... and Poe's law strikes again.
- JoachimSchipper 13y agoThat's partially true, but note that Python does, to a fairly large extent, have One True Way of formatting code (i.e. PEP-8). Although, amusingly, I can't actually find this rule in PEP-8.
- masklinn 13y agoNot calling dunder methods directly doesn't really need to be in PEP8, they're data model methods for overloading protocols, their whole purpose is to be used by some other "top-level" operation if and when necessary (nb: this may or may not apply when implementing or overloading dunder methods, but that's a special case)