Skip to content

Commit

Permalink
Add blurb
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 29, 2022
1 parent a2524ba commit 6acf0c0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
``importlib.resources.files`` now accepts a module as an anchor instead of
only accepting packages. If a module is passed, resources are resolved
adjacent to that module (in the same package or at the package root). The
parameter was renamed from ``package`` to ``anchor`` with a compatibility
shim for those passing by keyword. Additionally, the new ``anchor``
parameter is now optional and will default to the caller's module.

0 comments on commit 6acf0c0

Please sign in to comment.