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

Allow nonliteral tuple indexing #3514

merged 2 commits into from Jun 9, 2017


None yet
3 participants

ddfisher commented Jun 9, 2017

Fixes #899. Allows indexing and slicing tuples with nonliteral values: returns a Union of all tuple item types.


You can merge yourself after fixing up the indent (Curious why flake8 didn't catch this.)

Show outdated Hide outdated mypy/

@ilevkivskyi ilevkivskyi merged commit 9941b61 into master Jun 9, 2017

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed

@ilevkivskyi ilevkivskyi deleted the nonliteral-tuple-index branch Jun 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment