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

Remove unnecessary __str__ definition #112

Merged
merged 1 commit into from
Dec 3, 2019
Merged

Remove unnecessary __str__ definition #112

merged 1 commit into from
Dec 3, 2019

Conversation

hukkin
Copy link

@hukkin hukkin commented Dec 2, 2019

Remove unnecessary __str__ = __repr__. If not overridden, __str__ runs __repr__ in Python by default.

@sloria
Copy link
Owner

sloria commented Dec 3, 2019

Ah, TIL. Thanks!

@sloria sloria merged commit 303024f into sloria:master Dec 3, 2019
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.

3 participants