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

Improve API for checking the signature in check_function_def #361

Open
filipsch opened this issue Sep 28, 2018 · 0 comments
Open

Improve API for checking the signature in check_function_def #361

filipsch opened this issue Sep 28, 2018 · 0 comments

Comments

@filipsch
Copy link
Contributor

If you look at the examples in the reference documentation of check_function_def(), you'll see that it's currently rather clunky to verify the signature of a function definition:

  • A lot of work is needed to verify the number of arguments and whether or not defaults are set.
  • You have to specify custom messages because pythonwhat doesn't automatically generate messages.

This should be improved. Not sure how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant