Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature Request: Could you add the famous (a, b) = a[b] = {}, 5 please? #9

Closed
PiaFraus opened this issue Aug 31, 2017 · 3 comments
Closed

Comments

@PiaFraus
Copy link

I think this one is great and majority of python developers don't ever manage to guess the correct result of
this expression:
(a, b) = a[b] = {}, 5

https://stackoverflow.com/questions/32127908/python-assignment-operator-precedence-a-b-ab-5

@satwikkansal
Copy link
Owner

Yeah, this seems like "Hell of an example?", working on it 👍

satwikkansal added a commit that referenced this issue Aug 31, 2017
@satwikkansal
Copy link
Owner

Hey @PiaFraus, added this example to the README.md in 3cdc9ac Feel free to reopen the issue if you think I missed something. And Thanks for the suggestion :)

@PiaFraus
Copy link
Author

PiaFraus commented Aug 31, 2017

@satwikkansal, Nope. That looks great. Thanks.

BenSt099 pushed a commit to BenSt099/wtfpython that referenced this issue Jul 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants