Skip to content

Commit b7073cd

Browse files
committed
documentation changes to 18b examples
1 parent 9b7ee1c commit b7073cd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

18b-async-await/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ From the book "Fluent Python" by Luciano Ramalho (O'Reilly, 2015)
44
http://shop.oreilly.com/product/0636920032519.do
55

66
##################################################################
7-
Note: this "18b" directory contains the examples of chapter 18
7+
NOTE: this "18b" directory contains the examples of chapter 18
88
rewritten using the new async/await syntax available in Python 3.5
9-
only, instead of the "yield-from" syntax which works since Python
9+
ONLY, instead of the "yield-from" syntax which works since Python
1010
3.3 (and will still work with Python 3.5).
1111
##################################################################

18b-async-await/spinner_await.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# spinner_asyncio.py
1+
# spinner_await.py
22

33
# credits: Example by Luciano Ramalho inspired by
44
# Michele Simionato's multiprocessing example in the python-list:
55
# https://mail.python.org/pipermail/python-list/2009-February/538048.html
66

7-
# BEGIN SPINNER_ASYNCIO
7+
# BEGIN SPINNER_AWAIT
88
import asyncio
99
import itertools
1010
import sys
@@ -47,4 +47,4 @@ def main():
4747

4848
if __name__ == '__main__':
4949
main()
50-
# END SPINNER_ASYNCIO
50+
# END SPINNER_AWAIT

0 commit comments

Comments
 (0)