Skip to content

Lambdas do not accept tuples in Python 3 #9200

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

Merged
merged 2 commits into from
Aug 12, 2019

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Aug 10, 2019

__python3 -c "lambda (a, b): a"__  # —> syntax error
@kripken
Copy link
Member

kripken commented Aug 12, 2019

Thanks @cclauss!

@kripken kripken merged commit 48551bb into emscripten-core:incoming Aug 12, 2019
@cclauss cclauss deleted the patch-3 branch August 12, 2019 21:00
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
* Lambdas do not accept tuples in Python 3

__python3 -c "lambda (a, b): a"__  # —> syntax error

* data.sort(key=lambda f_d: f_d[1][0])
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

Successfully merging this pull request may close these issues.

2 participants