comment fixed

This commit is contained in:
yishibashi 2016-10-18 18:50:28 +09:00
parent d961e9d1a2
commit 7c3faea0dd

View File

@ -47,9 +47,8 @@ class Sanic:
# Decorator # Decorator
def exception(self, *exceptions): def exception(self, *exceptions):
""" """
Decorates a function to be registered as a route Decorates a function to be registered as a handler for exceptions
:param uri: path of the URL :param *exceptions: exceptions
:param methods: list or tuple of methods allowed
:return: decorated function :return: decorated function
""" """