Inspired by Greg Stein's proposed simplification of the _closesocket
class, I came up with an even simpler solution: raise the error in __getattr__().
Showing
Please
register
or
sign in
to comment
class, I came up with an even simpler solution: raise the error in __getattr__().