Skip to content

Commit

Permalink
fix typo in Asyncio example (#1510)
Browse files Browse the repository at this point in the history
* fix typo

* args to kwargs
  • Loading branch information
sam-writer authored and sjsadowski committed Mar 15, 2019
1 parent 773a66b commit abf8534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sanic/asyncio_python37.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This example shows how to use sanic with Python 3.7, to be precise: how to retri
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
try:
os.remote(server_socket)
os.remove(server_socket)
finally:
sock.bind(server_socket)
Expand All @@ -40,7 +40,7 @@ This example shows how to use sanic with Python 3.7, to be precise: how to retri
srv_coro = app.create_server(
sock=sock,
return_asyncio_server=True,
asyncio_server_args=dict(
asyncio_server_kwargs=dict(
start_serving=False
)
)
Expand Down

0 comments on commit abf8534

Please sign in to comment.