[3.13] gh-106531: Apply changes from importlib_resources 6.3.2 (GH-117054) (#120014)

gh-106531: Apply changes from importlib_resources 6.3.2 (GH-117054)

Apply changes from importlib_resources 6.3.2.
(cherry picked from commit 8d63c8d47b)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
This commit is contained in:
Miss Islington (bot) 2024-06-04 16:54:59 +02:00 committed by GitHub
parent ee7d2681f6
commit 23ebf87eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 231 additions and 146 deletions

View file

@ -25,6 +25,8 @@ def package_to_anchor(func):
>>> files('a', 'b')
Traceback (most recent call last):
TypeError: files() takes from 0 to 1 positional arguments but 2 were given
Remove this compatibility in Python 3.14.
"""
undefined = object()