summaryrefslogtreecommitdiff
path: root/paste/profilemiddleware.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-11-11 18:51:46 +0000
committerianb <devnull@localhost>2005-11-11 18:51:46 +0000
commit5010431320ad6ecf80224e38e41fc145faafa2fa (patch)
tree6a10ca3695c48fb87f4d3afef1921953194e52f5 /paste/profilemiddleware.py
parent32bf96f3f4a78f50e33bf8a6872108bec166e63b (diff)
downloadpaste-5010431320ad6ecf80224e38e41fc145faafa2fa.tar.gz
Fix docstrings for pudge
Diffstat (limited to 'paste/profilemiddleware.py')
-rw-r--r--paste/profilemiddleware.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/paste/profilemiddleware.py b/paste/profilemiddleware.py
index 64fa5ea..43d8dca 100644
--- a/paste/profilemiddleware.py
+++ b/paste/profilemiddleware.py
@@ -16,6 +16,8 @@ __all__ = ['ProfileMiddleware', 'profile_decorator']
class ProfileMiddleware(object):
"""
+ Middleware that profiles all requests.
+
You can enable this middleware by adding this to your
configuration::
@@ -91,6 +93,8 @@ def capture_output(func, *args, **kw):
def profile_decorator(**options):
"""
+ Profile a single function call.
+
Used around a function, like::
@profile_decorator(options...)