summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2017-02-22 15:06:50 (GMT)
committerBarry Warsaw <barry@python.org>2017-02-22 15:06:50 (GMT)
commit1bc156430bad8177b5beecf57979628c1d071230 (patch)
tree1f24f4fa81da3e01e94b15e138d13e7dcdb2bbcb /Doc
parentd37c068e695f8ec72b5c1b5a5a5ece2337fda768 (diff)
downloadcpython-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.rst3
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
===========