diff options
Diffstat (limited to 'docs/userguide')
| -rw-r--r-- | docs/userguide/datafiles.rst | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/docs/userguide/datafiles.rst b/docs/userguide/datafiles.rst index 943b8535..81210dd5 100644 --- a/docs/userguide/datafiles.rst +++ b/docs/userguide/datafiles.rst @@ -405,7 +405,7 @@ has to be made to the above code is to replace ``importlib.resources`` with ``im from importlib_resources import files ... -See :doc:`importlib-resources:using` for detailed instructions [#importlib]_. +See :doc:`importlib-resources:using` for detailed instructions. .. tip:: Files inside the package directory should be *read-only* to avoid a series of common problems (e.g. when multiple users share a common Python @@ -447,11 +447,6 @@ run time be included **inside the package**. .. [#system-dirs] These locations can be discovered with the help of third-party libraries such as :pypi:`platformdirs`. -.. [#importlib] Recent versions of :mod:`importlib.resources` available in - Pythons' standard library should be API compatible with - :pypi:`importlib-metadata`. However this might vary depending on which version - of Python is installed. - .. [#files_api] Reference: https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy .. [#namespace_support] Reference: https://github.com/python/importlib_resources/pull/196#issuecomment-734520374 |
