Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb7073cd

Browse files
committed
documentation changes to 18b examples
1 parent9b7ee1c commitb7073cd

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-
# BEGINSPINNER_ASYNCIO
7+
# BEGINSPINNER_AWAIT
88
importasyncio
99
importitertools
1010
importsys
@@ -47,4 +47,4 @@ def main():
4747

4848
if__name__=='__main__':
4949
main()
50-
# ENDSPINNER_ASYNCIO
50+
# ENDSPINNER_AWAIT

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp