Skip to content

Double dict unpacking does not parse #2438

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

Closed
not-raspberry opened this issue Nov 11, 2016 · 1 comment
Closed

Double dict unpacking does not parse #2438

not-raspberry opened this issue Nov 11, 2016 · 1 comment

Comments

@not-raspberry
Copy link

$ python -c "a = {'a': 1}
b = {'b': 2}
print(dict(**a, **b))
"
{'a': 1, 'b': 2}
$ mypy -c "a = {'a': 1}
b = {'b': 2}
print(dict(**a, **b))
"
<string>:3: error: Parse error before **
$ python --version
Python 3.5.2
$ mypy --version
mypy 0.4.5
@not-raspberry
Copy link
Author

#2086

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

No branches or pull requests

1 participant