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

Recognize additional attributes of named tuples #1076

Closed
JukkaL opened this issue Dec 14, 2015 · 1 comment
Closed

Recognize additional attributes of named tuples #1076

JukkaL opened this issue Dec 14, 2015 · 1 comment
Labels

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Dec 14, 2015

There are some attributes of named tuples that mypy doesn't recognize, such as _fields.

@elazarg
Copy link
Contributor

elazarg commented Aug 16, 2016

In PR #1810 I've added support to_fields, _asdict and _source.

gvanrossum referenced this issue in python/typeshed Aug 17, 2016
This is a dependency for PR #1076.
@JukkaL JukkaL closed this as completed in 582ab70 Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants