Skip to content

Commit

Permalink
[3.0.x] Fixed typo in docs/topics/async.txt.
Browse files Browse the repository at this point in the history
Backport of f622b49 from master
  • Loading branch information
carltongibson authored and felixxm committed Mar 17, 2020
1 parent 2f5c35c commit 5c1ad59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/async.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ context.
If you encounter this error, you should fix your code to not call the offending
code from an async context; instead, write your code that talks to async-unsafe
in its own, synchronous function, and call that using
:func:`asgiref.sync.async_to_sync`, or any other preferred way of running
:func:`asgiref.sync.sync_to_async`, or any other preferred way of running
synchronous code in its own thread.

If you are *absolutely* in dire need to run this code from an asynchronous
Expand Down

0 comments on commit 5c1ad59

Please sign in to comment.