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

Apply changes from importlib_resources 6.3.2.
This commit is contained in:
Jason R. Coombs 2024-06-04 02:36:28 -04:00 committed by GitHub
parent 31a4fb3c74
commit 8d63c8d47b
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()