talkpython / async-techniques-python-course

Async Techniques and Examples in Python Course
https://training.talkpython.fm/courses/explore_async_python/async-in-python-with-threading-and-multiprocessing
MIT License
451 stars 249 forks source link

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

Closed brendonmackenzie closed 6 years ago

brendonmackenzie commented 6 years ago

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 commented 6 years ago

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.