From: Brett Cannon Date: Sat, 10 Dec 2016 22:13:38 +0000 (-0800) Subject: Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages. X-Git-Tag: v3.5.3rc1~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc538e38527bf836291be5b6ac28644b27abd07e;p=thirdparty%2FPython%2Fcpython.git Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages. Thanks to Douglas Greiman for the patch. --- diff --git a/Doc/library/pkgutil.rst b/Doc/library/pkgutil.rst index abeac62952df..b9e76f7ba3fc 100644 --- a/Doc/library/pkgutil.rst +++ b/Doc/library/pkgutil.rst @@ -219,4 +219,6 @@ support. If the package cannot be located or loaded, or it uses a :term:`loader` which does not support :meth:`get_data `, - then ``None`` is returned. + then ``None`` is returned. In particular, the :term:`loader` for + :term:`namespace packages ` does not support + :meth:`get_data `.