Skip to content

Commit

Permalink
Add note about when to drop compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 21, 2023
1 parent a95bafd commit 80fe9cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions importlib_resources/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,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()

Expand Down

0 comments on commit 80fe9cc

Please sign in to comment.