Permalink
Browse files

Document wrappers.py

  • Loading branch information...
diazona committed Jun 7, 2011
1 parent 4b87eff commit 69d445153611042afa6db6010806046cd1e95163
Showing with 5 additions and 0 deletions.
  1. +5 −0 modulo/wrappers.py
View
@@ -1,5 +1,9 @@
# -*- coding: iso-8859-1 -*-
+'''This module defines the request and response classes as subclasses of
+those from Werkzeug. Normally there is no need to use this module except
+perhaps to import ``Request`` and ``Response``.'''
+
import logging
from collections import defaultdict
from logging import Logger, StreamHandler
@@ -24,6 +28,7 @@ def session(self):
return session_store.new()
class ModuloRequest(WerkzeugRequest, LoggerMixin, SessionMixin):
+ '''A subclass of ``WerkzeugRequest`` that adds logging and session management.'''
def __init__(self, environ):
WerkzeugRequest.__init__(self, environ)
LoggerMixin.__init__(self)

0 comments on commit 69d4451

Please sign in to comment.