wrap over width comment

This commit is contained in:
growingdever 2017-02-14 17:20:39 +09:00
parent 07aa0ee7ad
commit 81a8a99b6e

View File

@ -87,7 +87,8 @@ class Blueprint:
def add_route(self, handler, uri, methods=frozenset({'GET'}), host=None): def add_route(self, handler, uri, methods=frozenset({'GET'}), host=None):
""" """
Creates a blueprint route from a function. Creates a blueprint route from a function.
:param handler: Function for handling uri requests. Accepts function, or class instance with a view_class method. :param handler: Function for handling uri requests. Accepts function,
or class instance with a view_class method.
:param uri: Endpoint at which the route will be accessible. :param uri: Endpoint at which the route will be accessible.
:param methods: List of acceptable HTTP methods. :param methods: List of acceptable HTTP methods.
:return: function or class instance :return: function or class instance