Skip to content

Unsigned function signature #651

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

Closed
YannickJadoul opened this issue Feb 7, 2017 · 1 comment
Closed

Unsigned function signature #651

YannickJadoul opened this issue Feb 7, 2017 · 1 comment

Comments

@YannickJadoul
Copy link
Collaborator

Very very minor detail, but docstring-signature this is confusing, if I have a function taking an unsigned int:

    1. (arg0: int) -> int

Invoked with: -1```
@wjakob
Copy link
Member

wjakob commented Feb 8, 2017

The docstring signature uses Python types, and there is no such distinction within the Python language. I agree that it is unfortunate, but the choice is intentional.

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

No branches or pull requests

2 participants