Closed gto76 closed 5 years ago
Thanks for your awesome cheatsheet. But a question / addition: maybe some short sentences about PEP8?
Please add 3.7's DataClass goodie
I don't know how and where to incorporate PEP8. Also it would be kind of awkward to preach about it, since most examples don't follow it.
Didn't know about DataClasses. Will most probably squeeze them in somewhere. If there are any more useful 3.7 features, feel free to suggest.
About DataClasses and "backports" for earlier versions https://realpython.com/python-refactoring/#5-using-attrs-and-dataclasses-to-reduce-code
lstrip(), rstrip() f-strings
Great reference! It'd be great to see a section on the typing
module https://docs.python.org/3/library/typing.html
Cheatsheet
Page
index.html
fromREADME.md
at commit)