Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise if a non-str is passed as the first parameter to @deprecated #296

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

AlexWaygood
Copy link
Member

Fixes #295

@JelleZijlstra JelleZijlstra merged commit 9de9fd6 into python:main Oct 29, 2023
17 checks passed
@AlexWaygood AlexWaygood deleted the raise-TypeError branch October 29, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Baffling error message if you forget to pass a deprecation message to @deprecated when it's decorating a class
2 participants