mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
merge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.
This commit is contained in:
parent
89976f1cdc
commit
a3b2316a1b
@ -782,8 +782,8 @@ Some smaller changes made to the core Python language are:
|
||||
|
||||
(Contributed by Fredrik Johansson and Victor Stinner; :issue:`3439`.)
|
||||
|
||||
* The :keyword:`import` statement will no longer try a relative import
|
||||
if an absolute import (e.g. ``from .os import sep``) fails. This
|
||||
* The :keyword:`import` statement will no longer try an absolute import
|
||||
if a relative import (e.g. ``from .os import sep``) fails. This
|
||||
fixes a bug, but could possibly break certain :keyword:`import`
|
||||
statements that were only working by accident. (Fixed by Meador Inge;
|
||||
:issue:`7902`.)
|
||||
|
Loading…
Reference in New Issue
Block a user