File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 55``importlib_metadata `` is a library to access the metadata for a
66Python package.
77
8- It has been `added to the Python standard library
9- <https://docs.python.org/3/library/importlib.metadata.html> `_ as of
10- Python 3.8, but exists here to support backported usage in earlier
11- versions.
8+ As of Python 3.8, this functionality has been added to the
9+ `Python standard library
10+ <https://docs.python.org/3/library/importlib.metadata.html> `_.
11+ This package supplies backports of that functionality including
12+ improvements added to subsequent Python versions.
1213
1314
1415Usage
Original file line number Diff line number Diff line change @@ -10,9 +10,11 @@ Python 3.7 and newer (backported as :doc:`importlib_resources <importlib_resourc
1010versions of Python), this can eliminate the need to use the older and less
1111efficient ``pkg_resources `` package.
1212
13- ``importlib_metadata `` is a backport of Python 3.8's standard library
14- :doc: `importlib.metadata <library/importlib.metadata >` module for Python 2.7, and 3.4 through 3.7. Users of
15- Python 3.8 and beyond are encouraged to use the standard library module.
13+ ``importlib_metadata `` supplies a backport of
14+ :doc: `importlib.metadata <library/importlib.metadata >` as found in
15+ Python 3.8 and later for earlier Python releases. Users of
16+ Python 3.8 and beyond are encouraged to use the standard library module
17+ when possible and fall back to ``importlib_metadata `` when necessary.
1618When imported on Python 3.8 and later, ``importlib_metadata `` replaces the
1719DistributionFinder behavior from the stdlib, but leaves the API in tact.
1820Developers looking for detailed API descriptions should refer to the Python
You can’t perform that action at this time.
0 commit comments