Add comment to the README.

main
Vincent Driessen 13 years ago
parent f3890c85a0
commit 6b075f6cb7

@ -21,6 +21,7 @@ your typically lengthy or blocking function:
import requests import requests
def count_words_at_url(url): def count_words_at_url(url):
"""Just an example function that's called async."""
resp = requests.get(url) resp = requests.get(url)
return len(resp.text.split()) return len(resp.text.split())
``` ```

Loading…
Cancel
Save