Merge pull request #59 from yishibashi/comment-fix

comment fixed
This commit is contained in:
Channel Cat 2016-10-18 21:14:10 -07:00 committed by GitHub
commit 71a783e7e1

View File

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