diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2017-02-22 15:06:50 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2017-02-22 15:06:50 (GMT) |
commit | 1bc156430bad8177b5beecf57979628c1d071230 (patch) | |
tree | 1f24f4fa81da3e01e94b15e138d13e7dcdb2bbcb /Doc | |
parent | d37c068e695f8ec72b5c1b5a5a5ece2337fda768 (diff) | |
download | cpython-1bc156430bad8177b5beecf57979628c1d071230.zip cpython-1bc156430bad8177b5beecf57979628c1d071230.tar.gz cpython-1bc156430bad8177b5beecf57979628c1d071230.tar.bz2 |
bpo-29546: Improve from-import error message with location (#103)
bpo-29546: Improve from-import error message with location
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 21621c5..f6367fd 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -83,6 +83,9 @@ Other Language Changes whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.) +* :exc:`ImportError` now displays module name and module ``__file__`` path when + ``from ... import ...`` fails. :issue:`29546`. + New Modules =========== |