Ronald Oussoren <ronaldousso...@mac.com> added the comment:
Good question. Hopefully one of the documentation or importlib experts can chime in about that. I may also have uncovered a new issue in importlib ;-) Personally I'd say that documenting raising ImportError is still useful because that's the common exception, and an exception that's not mentioned in the rest of the documentation for importlib. That does require a careful formulation to avoid implying that this the only exception that can be raised. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com