4 ms·
def __init__(self, foo): self.foo=foo should, in this example, probably be: def __init__(self, foo): self.foo=munge(foo)
by Kim_Bruning 2y ago
def __init__(self, foo):
self.foo=foo
should, in this example, probably be:
def __init__(self, foo):
self.foo=munge(foo)
- Doxin 2y agoAh yeah missed that. Added the munge/unmunge to it as a final pass because I figured it'd clarify the use case slightly better.