Skip to content

Update f-string to use python 3.5 compatible .format #2

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

Merged
merged 1 commit into from
Sep 30, 2018
Merged

Update f-string to use python 3.5 compatible .format #2

merged 1 commit into from
Sep 30, 2018

Conversation

brendonmackenzie
Copy link
Contributor

The 04-asyncio producer_consumer demo uses f-strings which is not supported in python 3.5 (which is a supported python version in this course).

@mikeckennedy
Copy link
Member

Thanks for the PR. I generally want the code to stay exactly the same as what was typed on the screen when possible. But you are right I did claim that Python 3.5+ was what's needed so I'll happily accept this (and the other) PR.

@mikeckennedy mikeckennedy merged commit a6841e6 into talkpython:master Sep 30, 2018
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