Skip to content

change NotImplemented to NotImplementedError#33

Open
deepsource-autofix[bot] wants to merge 2 commits into
masterfrom
deepsource-autofix-5c6fc0b5
Open

change NotImplemented to NotImplementedError#33
deepsource-autofix[bot] wants to merge 2 commits into
masterfrom
deepsource-autofix-5c6fc0b5

Conversation

@deepsource-autofix
Copy link
Copy Markdown

While returning NotImplemented would be fine, raising it doesn't work and will cause a TypeError because NotImplemented is not an exception type.

While returning `NotImplemented` would be fine, raising it doesn't work and will cause a `TypeError` because `NotImplemented` is not an exception type.
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.

0 participants