Peibolvig added the comment: Oh, I see. Thanks for the clarification.
May I suggest to include that clarification into the documentation somehow? I think it would be easier to understand the point of the raises doing that. Maybe this suggestion could fit: In the first form, Class must be an instance of type or of a class derived from it. The first form is a shorthand for: raise Class() "'raise' will always use an instance. If a class is passed instead of an instance, it will instantiate it first using the constructor with no arguments." Again, thanks for the clarification. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21864> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com