diff options
| author | Ian Bicking <ian@ianbicking.org> | 2006-10-20 19:17:23 +0000 |
|---|---|---|
| committer | Ian Bicking <ian@ianbicking.org> | 2006-10-20 19:17:23 +0000 |
| commit | bd122f8823f753d2a364bb5915c9bc807aa582ba (patch) | |
| tree | 2e44477c0d1af2af22b76123841814431e5c0017 /paste/httpserver.py | |
| parent | 220e58fbe70aae21c9accbdb3b5e98c09b6394e2 (diff) | |
| download | paste-git-bd122f8823f753d2a364bb5915c9bc807aa582ba.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. |
