Skip to content

Commit a60ff8f

Browse files
author
Alexey Tsitkin
committed
doc changes
1 parent 0b4af76 commit a60ff8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def group_finished(group_id):
137137

138138
#### Auto Tasks
139139

140-
This is a helper tool, for the case you wish to define one of your class method as a task, and make it seamless to all callers.
140+
This is a helper tool for the case you wish to define one of your class method as a task, and make it seamless to all callers.
141141
This makes the code much simpler, and allows using classes to invoke your method directly without considering whether it's invoked async or not.
142142

143143
This is how you would define your class:
@@ -154,7 +154,7 @@ class MyService:
154154
```
155155

156156
Notice the following:
157-
1. Your class needs to have defaults for all parameter in the c'tor
157+
1. Your class needs to have defaults for all parameters in the c'tor
158158
2. The c'tor must have a parameter named `auto_task_service`
159159
3. The method shouldn't have any return value (as it's invoked async)
160160

0 commit comments

Comments
 (0)