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

Document that types cannot depend on argument values #2115

Closed
gvanrossum opened this issue Sep 9, 2016 · 3 comments
Closed

Document that types cannot depend on argument values #2115

gvanrossum opened this issue Sep 9, 2016 · 3 comments

Comments

@gvanrossum
Copy link
Member

We don't have dependent types. This came up in python/typeshed#521. Maybe we could add an example of typical code using itertools.product(), and how it could be typed.

@nanjekyejoannah
Copy link
Contributor

@gvanrossum I would love to work on this if no one is atm.

@emmatyping
Copy link
Collaborator

@nanjekyejoannah Feel free to do so!

@ilevkivskyi
Copy link
Member

We don't have dependent types.

Currently we do, and this is documented, so this issue can be closed.

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

4 participants