Subash Chandran posted: "class MyException(Exception): pass raise MyException("My hovercraft is full of eels") """With modern Python Exceptions, you don't need to abuse .message, or override .__str__() or .__repr__() or any of it. If all you want " |

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.