Skip to content

Commit d4b4034

Browse files
Rotzbuamiguelgrinberg
authored andcommitted
fix missing : in documentation example (miguelgrinberg#386)
1 parent a7ce61a commit d4b4034

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Or in the ``asyncio`` version::
268268
For the convenience of the application, a helper function is provided to
269269
start a custom background task::
270270

271-
def my_background_task(my_argument)
271+
def my_background_task(my_argument):
272272
# do some background work here!
273273
pass
274274

@@ -279,7 +279,7 @@ positional or keyword arguments to invoke the function with.
279279

280280
Here is the ``asyncio`` version::
281281

282-
async def my_background_task(my_argument)
282+
async def my_background_task(my_argument):
283283
# do some background work here!
284284
pass
285285

0 commit comments

Comments
 (0)