[Python-checkins] cpython (merge 3.5 -> default): Merge 3.5

yury.selivanov python-checkins at python.org
Fri Sep 11 01:02:55 CEST 2015


https://hg.python.org/cpython/rev/482ec940b413
changeset:   97885:482ec940b413
parent:      97883:c4b889d0bf93
parent:      97884:4b8033347e18
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Thu Sep 10 19:02:34 2015 -0400
summary:
  Merge 3.5

files:
  Doc/whatsnew/3.5.rst |  21 +++++++++++----------
  1 files changed, 11 insertions(+), 10 deletions(-)


diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -877,19 +877,20 @@
 importlib
 ---------
 
-The :class:`importlib.util.LazyLoader` class allows for lazy loading of modules
-in applications where startup time is important.  (Contributed by Brett Cannon
-in :issue:`17621`.)
+The :class:`util.LazyLoader <importlib.util.LazyLoader>` class allows for
+lazy loading of modules in applications where startup time is important.
+(Contributed by Brett Cannon in :issue:`17621`.)
 
-The :func:`importlib.abc.InspectLoader.source_to_code` method is now a
-static method.  This makes it easier to initialize a module object with
-code compiled from a string by running ``exec(code, module.__dict__)``.
+The :func:`abc.InspectLoader.source_to_code <importlib.abc.InspectLoader.source_to_code>`
+method is now a static method.  This makes it easier to initialize a module
+object with code compiled from a string by running
+``exec(code, module.__dict__)``.
 (Contributed by Brett Cannon in :issue:`21156`.)
 
-The new :func:`importlib.util.module_from_spec` function is now the preferred
-way to create a new module.  Compared to the :class:`types.ModuleType` class,
-this new function will set the various import-controlled attributes based
-on the passed-in spec object.
+The new :func:`util.module_from_spec <importlib.util.module_from_spec>`
+function is now the preferred way to create a new module.  Compared to the
+:class:`types.ModuleType` class, this new function will set the various
+import-controlled attributes based on the passed-in spec object.
 (Contributed by Brett Cannon in :issue:`20383`.)
 
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list