Permalink
Browse files

fix docs on IWSGIProtocol.get_wsgi_app_settings

  • Loading branch information...
mmerickel committed Oct 29, 2017
1 parent 0488be0 commit 6be21174f9554ef5824e2d6cf4d0ecbb4f4ea2e0
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/plaster/protocols.py
View
@@ -35,15 +35,10 @@ def app(environ, start_response):
@abc.abstractmethod
def get_wsgi_app_settings(self, name=None, defaults=None):
"""
Create a WSGI application object.
An example application object may be:
.. code-block:: python
Return the settings for a WSGI application.
def app(environ, start_response):
start_response(b'200 OK', [(b'Content-Type', b'text/plain')])
yield [b'hello world\\n']
This is similar to :meth:`plaster.ILoader.get_settings` for a
WSGI application.
:param name: The name of the application referenced in the config.
If ``None`` then it should default to the

0 comments on commit 6be2117

Please sign in to comment.