[Python-checkins] cpython (merge 3.6 -> default): Merge for issue #28424

brett.cannon python-checkins at python.org
Sat Dec 10 17:15:30 EST 2016


https://hg.python.org/cpython/rev/b396a2c97871
changeset:   105581:b396a2c97871
parent:      105578:40e8b39199da
parent:      105580:c17d2a37d610
user:        Brett Cannon <brett at python.org>
date:        Sat Dec 10 14:15:22 2016 -0800
summary:
  Merge for issue #28424

files:
  Doc/library/pkgutil.rst |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst
--- a/Doc/library/pkgutil.rst
+++ b/Doc/library/pkgutil.rst
@@ -224,4 +224,6 @@
 
    If the package cannot be located or loaded, or it uses a :term:`loader`
    which does not support :meth:`get_data <importlib.abc.ResourceLoader.get_data>`,
-   then ``None`` is returned.
+   then ``None`` is returned.  In particular, the :term:`loader` for
+   :term:`namespace packages <namespace package>` does not support
+   :meth:`get_data <importlib.abc.ResourceLoader.get_data>`.

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


More information about the Python-checkins mailing list