mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 07:06:26 +01:00
fix bullet points
parent
883ef1dbca
commit
60bfc47337
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@ Hence, the following may occur:
|
||||||
|
|
||||||
1. *Task AB* executes `bank.write_account(source)` and updates *Account A* with *-$10*
|
1. *Task AB* executes `bank.write_account(source)` and updates *Account A* with *-$10*
|
||||||
2. Before updating *Account B*, *Task AB* sends two messages and during that time, the event loop continues *Task BA*
|
2. Before updating *Account B*, *Task AB* sends two messages and during that time, the event loop continues *Task BA*
|
||||||
3 *Task BA* executes `bank.write_account(source)` and updates *Account B* with *-$100*
|
3. *Task BA* executes `bank.write_account(source)` and updates *Account B* with *-$100*
|
||||||
3. Before updating *Account A*, *Task BA* sends two messages and during that time, the event loop continues *Task AB*
|
4. Before updating *Account A*, *Task BA* sends two messages and during that time, the event loop continues *Task AB*
|
||||||
5. *Task AB* executes `bank.write_account(target)` and updates *Account B* with *+$100*
|
5. *Task AB* executes `bank.write_account(target)` and updates *Account B* with *+$100*
|
||||||
6. When *Task BA* is resumed again, it executes `bank.write_account(target)` and updates *Account A* with *+$10*
|
6. When *Task BA* is resumed again, it executes `bank.write_account(target)` and updates *Account A* with *+$10*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue