Permalink
Browse files

Adding some (crappy) docstrings.

  • Loading branch information...
1 parent 58d3cdd commit bccb68f6fee3d918b2c0f1ddbea372ee0f5c284c Eric Naeseth committed Dec 19, 2009
Showing with 6 additions and 2 deletions.
  1. +6 −2 swirl.py
View
@@ -1,7 +1,7 @@
# encoding: utf-8
"""
-Provides some sugar to make parts of Tornado more palatable.
+Provides some sugar to make Tornado's async stuff more palatable.
"""
import inspect
@@ -14,13 +14,17 @@
def make_asynchronous_decorator(io_loop):
"""
+ Creates an asynchronous decorator that uses the given I/O loop.
+ For information on how to use such a decorator, see
+ `swirl.asynchronous`.
"""
def asynchronous(coroutine):
"""
-
+ Allows a function to not use explicit callback functions to respond
+ to asynchronous events.
"""
@functools.wraps(coroutine)

0 comments on commit bccb68f

Please sign in to comment.