forked from pool/python-importlib-resources
- Update to v5.10.0 * #203: Lifted restriction on modules passed to files. Now modules need not be a package and if a non-package module is passed, resources will be resolved adjacent to those modules, even for modules not found in any package. For example, files(import_module('mod.py')) will resolve resources found at the root. The parameter to files was renamed from 'package' to 'anchor', with a compatibility shim for those passing by keyword. * #259: files no longer requires the anchor to be specified and can infer the anchor from the caller's scope (defaults to the caller's module). OBS-URL: https://build.opensuse.org/request/show/1032011 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-importlib-resources?expand=0&rev=11
9.2 KiB
9.2 KiB