Skip to content

Add stub version of Type[C] #216

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

Merged
merged 3 commits into from
May 24, 2016
Merged

Add stub version of Type[C] #216

merged 3 commits into from
May 24, 2016

Conversation

gvanrossum
Copy link
Member

This is one of the items we need to do before closing python/typing#107

@JukkaL
Copy link
Contributor

JukkaL commented May 20, 2016

I'm not sure whether using Generic is the right thing to do there, as Type[C] is special and not just a vanilla generic type. If we add new features to Type[C] in the future, using Generic may stop making sense.

@gvanrossum
Copy link
Member Author

Maybe I should just add Type = object() near the top?

@JukkaL
Copy link
Contributor

JukkaL commented May 20, 2016

Yeah, that would be reasonable, similar to the other special types.

@gvanrossum gvanrossum merged commit b6b8554 into master May 24, 2016
@gvanrossum gvanrossum deleted the typec branch June 6, 2016 01:49
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.

2 participants