[Python-checkins] cpython (merge 3.5 -> 3.6): 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/c17d2a37d610
changeset:   105580:c17d2a37d610
branch:      3.6
parent:      105577:b3ba41bf92c7
parent:      105579:3484933ba904
user:        Brett Cannon <brett at python.org>
date:        Sat Dec 10 14:14:47 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