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: replace usages of __str__() #3

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Conversation

odesenfans
Copy link
Contributor

Problem: __str__() is not meant to be used directly in typical Python code.

Solution: remove calls from within f-strings as they are redundant anyway and replace the remaining calls by calls to str().

Problem: `__str__()` is not meant to be used directly in typical Python code.

Solution: remove calls from within f-strings as they are redundant
anyway and replace the remaining calls by calls to `str()`.
@odesenfans odesenfans merged commit 35dac5e into main Sep 7, 2023
4 checks passed
@odesenfans odesenfans deleted the od-fix-usages-of-__str__ branch September 7, 2023 09:21
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