10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I write this:
a_list = [ 1, 2 ] a_tuple = ( 1, 2 ) a_dict = { ("a", 1), ("b", 2) } print a_list print a_tuple print a_dict
I expect this to evaluate to:
[1, 2] (1, 2) {'a': 1, 'b': 2}
But instead, only the last element is seen, and I get:
[2] 2 {'b': 2}
This bug can get very annoying if you want to nicely indent them, as you are forced to put them all in the same line.
The text was updated successfully, but these errors were encountered:
dg/core/2.ast.dg
Line 18 in 55b06a5
Sorry, something went wrong.
Maybe this is a recommend way of write dict literals.
Maybe, but author must have clarified this in 2 years.
You're awfully generous in assuming that the author is good at writing documentation...
No branches or pull requests
I write this:
I expect this to evaluate to:
But instead, only the last element is seen, and I get:
This bug can get very annoying if you want to nicely indent them, as you are forced to put them all in the same line.
The text was updated successfully, but these errors were encountered: