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

No less code #12

Merged
merged 1 commit into from
Apr 28, 2023
Merged

No less code #12

merged 1 commit into from
Apr 28, 2023

Conversation

Olegt0rr
Copy link
Contributor

Fixed description.

Less code:

sub = "Some value"
raise RuntimeError(f"{sub!r} is incorrect")

More code:

sub = "Some value"
msg = f"{sub!r} is incorrect"
raise RunetimeError(msg)

rm 'less code'
@henryiii
Copy link
Owner

I meant less code displayed in the traceback. But I can see how it’s unclear.

@henryiii henryiii merged commit 7328571 into henryiii:main Apr 28, 2023
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