Add comment to the README.

This commit is contained in:
Vincent Driessen 2012-08-04 09:18:46 +02:00
parent f3890c85a0
commit 6b075f6cb7
1 changed files with 1 additions and 0 deletions

View File

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