commit | 112ea6bfa61e67516f8ab7c0b5b46911d5f7e060 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Aug 18 21:00:39 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Aug 18 21:00:39 2001 +0000 |
tree | 62d7bd67b47d3361ee562781d5dc789a854b606c | |
parent | aa32070f4d7b7151974e70b407b0f0dc2a836313 [diff] |
Inspired by Greg Stein's proposed simplification of the _closesocket class, I came up with an even simpler solution: raise the error in __getattr__().