diff options
| author | ianb <devnull@localhost> | 2006-10-20 19:17:23 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2006-10-20 19:17:23 +0000 |
| commit | 96644d94fd727e919d6a3d52998f276c90cbf770 (patch) | |
| tree | 2e44477c0d1af2af22b76123841814431e5c0017 /paste/httpserver.py | |
| parent | e4815ce24daa232d588d588490b214b079890451 (diff) | |
| download | paste-96644d94fd727e919d6a3d52998f276c90cbf770.tar.gz | |
Add docstring for all the entry points
Diffstat (limited to 'paste/httpserver.py')
| -rwxr-xr-x | paste/httpserver.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py index acebe05..91521f0 100755 --- a/paste/httpserver.py +++ b/paste/httpserver.py @@ -597,12 +597,10 @@ def serve(application, host=None, port=None, handler=None, ssl_pem=None, # Note: this gets a separate function because it has to expect string # arguments (though that's not much of an issue yet, ever?) def server_runner(wsgi_app, global_conf, *args, **kwargs): - """ - A simple HTTP server. Also supports SSL if you give it an - ``ssl_pem`` argument, see documentation for ``serve()``. - """ serve(wsgi_app, *args, **kwargs) +server_runner.__doc__ = serve.__doc__ + if __name__ == '__main__': # serve exactly 3 requests and then stop, use an external # program like wget or curl to submit these 3 requests. |
