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

fix: register encoder's doc incorrectly mentions TypeError #384

Conversation

mathieu-lemay
Copy link
Contributor

Since #358, custom encoders are expected to raise a ConvertError instead of a TypeError, but the docstring of register_encoder still mentions TypeError. Fix this to mention ConvertError instead.

Since python-poetry#358, custom encoders are expected to raise a ConvertError instead
of a TypeError, but the docstring of register_encoder still mentions
TypeError. Fix this to mention ConvertError instead.
@frostming frostming merged commit 2777bed into python-poetry:master Nov 12, 2024
25 checks passed
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.

2 participants