Closed relsqui closed 11 years ago
It should raise a TypeError but broadly speaking I agree with you.
Come to think of it, we could also just call str
on whatever's there, when we look it up in Look
. I'm tempted to take that route instead -- if we get into dictating attribute types, that's never going to stop, and it's not particularly Pythonic.
Oh, good call. I'm for it. On Jun 19, 2013 2:48 PM, "Reuven Lazarus" notifications@github.com wrote:
Come to think of it, we could also just call str on whatever's there, when we look it up in Look. I'm tempted to take that route instead.
— Reply to this email directly or view it on GitHubhttps://github.com/rlazarus/MUSS/issues/102#issuecomment-19717542 .
This should raise a ValueError.