mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #28424: Document pkgutil.get_data() doesn't work with namespace packages.
Thanks to Douglas Greiman for the patch.
This commit is contained in:
parent
cd2a201e5b
commit
bc538e3852
1 changed files with 3 additions and 1 deletions
|
@ -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 <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>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue