Skip to content

Commit

Permalink
Cleanup the docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
multani committed Apr 2, 2012
1 parent 4cfe76a commit fd66d42
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions webob/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@


class FileApp(object):
"""
An application that will send the file at the given filename.
Adds a mime type based on ``mimetypes.guess_type()``.
"""An application that will send the file at the given filename.
Adds a mime type based on `mimetypes.guess_type()`.
"""

def __init__(self, filename, **kw):
Expand Down Expand Up @@ -88,10 +88,12 @@ def app_iter_range(self, seek=None, limit=None, block_size=1<<16):


class DirectoryApp(object):
"""
An application that dispatches requests to corresponding FileApps based on PATH_INFO.
This app double-checks not to serve any files that are not in a subdirectory.
To customize FileApp instances creation override `make_fileapp` method.
"""An application that dispatches requests to corresponding `FileApp`s based
on PATH_INFO.
This app double-checks not to serve any files that are not in a
subdirectory. To customize `FileApp` instances creation, override
`make_fileapp` method.
"""

def __init__(self, path, **kw):
Expand Down

0 comments on commit fd66d42

Please sign in to comment.