Skip to content

Commit

Permalink
fix missing : in documentation example (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored and miguelgrinberg committed Nov 26, 2019
1 parent a7ce61a commit d4b4034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Or in the ``asyncio`` version::
For the convenience of the application, a helper function is provided to
start a custom background task::

def my_background_task(my_argument)
def my_background_task(my_argument):
# do some background work here!
pass

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

Here is the ``asyncio`` version::

async def my_background_task(my_argument)
async def my_background_task(my_argument):
# do some background work here!
pass

Expand Down

0 comments on commit d4b4034

Please sign in to comment.