Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comment fixed #59

Merged
merged 1 commit into from
Oct 19, 2016
Merged

comment fixed #59

merged 1 commit into from
Oct 19, 2016

Conversation

yishibashi
Copy link
Contributor

fixed comment in sanic.py.

(my first pull request 👏 )

: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
Copy link
Contributor

@mikoim mikoim Oct 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this method, exceptions parameter is tuple.
I think that the line should be changed as following.

:param exceptions: tuple of exceptions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exception(variable in this method) is tuple, but this method (or *exception) does not receive tuple. So I think "exceptions" is better.

@channelcat channelcat merged commit 71a783e into sanic-org:master Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants