From da7964ce7cbdc0e28c4558caabcf36d384253ed1 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 28 Feb 2008 14:03:55 +0100 Subject: refactored docstrings for epydoc --- wsgitools/applications.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'wsgitools/applications.py') diff --git a/wsgitools/applications.py b/wsgitools/applications.py index dcbd78a..2e6703c 100644 --- a/wsgitools/applications.py +++ b/wsgitools/applications.py @@ -2,11 +2,15 @@ class StaticContent: """This wsgi application provides static content on whatever request it receives.""" def __init__(self, status, headers, content): - """status is the HTTP status returned to the browser (ex: "200 OK") - headers is a list of (header, value) pairs being delivered as HTTP - headers - content contains the data to be delivered to the client. It is either a - string or some kind of iterable yielding strings. + """ + @type status: str + @param status: is the HTTP status returned to the browser (ex: "200 OK") + @type headers: list + @param headers: is a list of (header, value) pairs being delivered as + HTTP headers + @type content: basestring + @param content: contains the data to be delivered to the client. It is + either a string or some kind of iterable yielding strings. """ assert isinstance(status, str) assert isinstance(headers, list) -- cgit v1.2.3