7 Commits

Author SHA1 Message Date
Ville Skyttä
770185004b
Code block improvements (#382)
* Use f-strings instead of .format()

* Code block language marker fixes

* Make example code blocks syntactically valid Python

* Run all python code blocks through black

https://github.com/scop/misc/blob/master/black_markdown.py

* Add some missing code block language markers

* Use shell language consistently to mark shell code blocks

* Undo folding of some example dicts

* Remove outdated OrderedDict comments per Python 3.7, replace with plain dict
2020-01-13 21:55:41 +02:00
Frederik Gladhorn
21b7202f1f Clarify declaring function async (#293)
The import and decorator syntax was Python 3.4, with Python 3.5 this
became much nicer and the async keyword is now used.

Use awaited instead of yielded, which makes it easier to read.
2019-07-17 15:20:15 +02:00
Aaron Pica
555499e7d3 Fix change from "yield from" to "await" (#162)
Change reference from "yield from" to "await".
2019-01-06 22:38:23 +01:00
Paulus Schoutsen
873db57e30 Wrap up 2018-04-25 15:28:06 -04:00
Paulus Schoutsen
9311326aec Remove unused header 2018-04-24 15:44:32 -04:00
Paulus Schoutsen
632bc81a20 Fix all headers 2018-04-24 11:46:45 -04:00
Paulus Schoutsen
746e35b7a7 Migrate to Docusaurus 2018-04-24 09:52:18 -04:00