summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2018-01-24 20:36:21 (GMT)
committerGitHub <noreply@github.com>2018-01-24 20:36:21 (GMT)
commit6f6eb35f9bee18f54945f09664344f2d118ed89f (patch)
treee1e7432ccc9f7755d85da2803181f04504ac3894 /Doc
parent789e359f51d2b27bea01b8c6c3bf090aaedf8839 (diff)
downloadcpython-6f6eb35f9bee18f54945f09664344f2d118ed89f.zip
cpython-6f6eb35f9bee18f54945f09664344f2d118ed89f.tar.gz
cpython-6f6eb35f9bee18f54945f09664344f2d118ed89f.tar.bz2
bpo-32248 - Implement `ResourceReader` and `get_resource_reader()` for zipimport (#5248)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 0418aa6..20be158 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -328,8 +328,12 @@ importlib.resources
This module provides several new APIs and one new ABC for access to, opening,
and reading *resources* inside packages. Resources are roughly akin to files
inside of packages, but they needn't be actual files on the physical file
-system. Module loaders can provide :class:`importlib.abc.ResourceReader`
-implementations to support this new module's API.
+system. Module loaders can provide a :meth:`get_resource_reader()` function
+which returns a :class:`importlib.abc.ResourceReader` instance to support this
+new API. Built-in file path loaders and zip file loaders both support this.
+(see the PyPI package
+`importlib_resources <http://importlib-resources.readthedocs.io/en/latest/>`_
+as a compatible back port for older Python versions).
Improved Modules