Skip to content

Commit 5a497b5

Browse files
authored
add PEP 3156, PEP 380 and PEP 492. (#90)
1 parent 3c20bc9 commit 5a497b5

14 files changed

+16
-0
lines changed

recipes/core/asyncio_coroutine.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
4040
## References
4141

4242
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
43+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)
44+
- [PEP 380 – Syntax for Delegating to a Subgenerator](https://peps.python.org/pep-0380/)
45+
- [PEP 492 – Coroutines with async and await syntax](https://peps.python.org/pep-0492/)

recipes/core/asyncio_coroutine_chain.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
3939
## References
4040

4141
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
42+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_coroutine_concurrent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
102102
## References
103103

104104
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
105+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_nonblocking.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
4343
## References
4444

4545
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
46+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_queue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
7373
## References
7474

7575
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
76+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_schedule.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
7575
## References
7676

7777
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
78+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_synchronization_condition.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
5858
## References
5959

6060
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
61+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_synchronization_event.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
5151
## References
5252

5353
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
54+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_synchronization_lock.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
6262
## References
6363

6464
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
65+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

recipes/core/asyncio_synchronization_semapore.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ See [source code](https://github.com/leven-cn/python-cookbook/blob/main/examples
4848
## References
4949

5050
- [Python - `asyncio` module](https://docs.python.org/3/library/asyncio.html)
51+
- [PEP 3156 – Asynchronous IO Support Rebooted: the "asyncio" Module](https://peps.python.org/pep-3156/)

0 commit comments

Comments
 (0)