Skip to content

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

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
AlexWaygood:raise-TypeError
Oct 29, 2023
Merged

Raise if a non-str is passed as the first parameter to @deprecated#296
JelleZijlstra merged 1 commit intopython:mainfrom
AlexWaygood:raise-TypeError

Conversation

@AlexWaygood
Copy link
Member

Fixes #295

@JelleZijlstra JelleZijlstra merged commit 9de9fd6 into python:main Oct 29, 2023
@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