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 f-string syntax errors #69

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Fix f-string syntax errors #69

merged 1 commit into from
Mar 17, 2021

Conversation

Edwinexd
Copy link
Contributor

Describe the PR changes

F-strings don't like other strings within their formatting ex: string_a = f"Result: {f(1)}" = Ok, string_b = f"Result: {g("1")}" = Syntaxerror

This PR simply re-does it with variables instead to prevent the syntaxerrors.

Mention any issues that this PR would close.

Closes #68

F-strings don't like other strings within their formatting ex: ```string_a = f"Result: {f(1)}"``` = Ok, ```string_b = f"Result: {g("1")}"``` = Syntaxerror
@eibex eibex merged commit 103f7e2 into eibex:master Mar 17, 2021
@eibex
Copy link
Owner

eibex commented Mar 17, 2021

Thanks for being super fast as always on these

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.

Bot doesn't start
2 participants