Skip to content

Support NamedTuple class syntax in all stubs #7646

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 1 commit into from
Oct 7, 2019

Conversation

srittau
Copy link
Contributor

@srittau srittau commented Oct 7, 2019

Previously, it was not supported in stubs when checking in Python 2.7 or
3.5 mode.

Closes: #3464

Previously, it was not supported in stubs when checking in Python 2.7 or
3.5 mode.

Closes: python#3464
Copy link
Member

@emmatyping emmatyping left a comment

Choose a reason for hiding this comment

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

This looks like it could be quite useful :)

@ilevkivskyi ilevkivskyi merged commit e4d99c6 into python:master Oct 7, 2019
@srittau srittau deleted the namedtuple-class-in-stubs branch October 7, 2019 16:58
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.

Allow class-based NamedTuple syntax in semantic analyzer for stubs in pre-3.6 mode
4 participants