]> granicus.if.org Git - python/commitdiff
merge for issue #17357
authorBrett Cannon <brett@python.org>
Sun, 28 Apr 2013 03:20:55 +0000 (23:20 -0400)
committerBrett Cannon <brett@python.org>
Sun, 28 Apr 2013 03:20:55 +0000 (23:20 -0400)
1  2 
Doc/library/importlib.rst

index e78a2eda7089244745754decc2625131b53c1ff7,0abf5e85bd88767b52b2f99d995e3447fef45230..aeeb3fde4c976648f42011957ed14175e1b3d9d1
@@@ -205,14 -190,11 +205,14 @@@ ABC hierarchy:
        package. The loader may be ``None`` while specifying ``portion`` to
        signify the contribution of the file system locations to a namespace
        package. An empty list can be used for ``portion`` to signify the loader
 -      is not part of a package. If ``loader`` is ``None`` and ``portion`` is
 -      the empty list then no loader or location for a namespace package were
 -      found (i.e. failure to find anything for the module).
 +      is not part of a namespace package. If ``loader`` is ``None`` and
 +      ``portion`` is the empty list then no loader or location for a namespace
 +      package were found (i.e. failure to find anything for the module).
 +
 +      .. versionchanged:: 3.4
 +         Returns ``(None, [])`` instead of raising :exc:`NotImplementedError`.
  
-    .. method:: find_module(fullname):
+    .. method:: find_module(fullname)
  
        A concrete implementation of :meth:`Finder.find_module` which is
        equivalent to ``self.find_loader(fullname)[0]``.