Title: For loop parse error with single-item tuple lvalue · Issue #543 · python/mypy · GitHub
Open Graph Title: For loop parse error with single-item tuple lvalue · Issue #543 · python/mypy
X Title: For loop parse error with single-item tuple lvalue · Issue #543 · python/mypy
Description: This is valid Python but mypy doesn't accept it (Parse error before in): for x, in [(1,), (2,), (3,)]: print(x)
Open Graph Description: This is valid Python but mypy doesn't accept it (Parse error before in): for x, in [(1,), (2,), (3,)]: print(x)
X Description: This is valid Python but mypy doesn't accept it (Parse error before in): for x, in [(1,), (2,), (3,)]: print(x)
Opengraph URL: https://github.com/python/mypy/issues/543
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"For loop parse error with single-item tuple lvalue","articleBody":"This is valid Python but mypy doesn't accept it (`Parse error before in`):\n\n``` python\nfor x, in [(1,), (2,), (3,)]:\n print(x)\n```\n","author":{"url":"https://github.com/JukkaL","@type":"Person","name":"JukkaL"},"datePublished":"2014-12-21T01:57:22Z","url":"https://github.com/python/mypy/issues/543"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:13ece8ff-fe93-f415-fae7-1cb4589bcb98 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E06:2C4BED:1A8617:229139:6B00CA38 |
| html-safe-nonce | 02dc3a6c8e84ff2ed01608c7bc50b42e1261a41656c38e15e4cd78e9b2885d22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTA2OjJDNEJFRDoxQTg2MTc6MjI5MTM5OjZCMDBDQTM4IiwidmlzaXRvcl9pZCI6IjYyMDAxOTU1NTc0MzcyNjIzOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 35b023f87f00ece7548b0955f2b5a10ecd63a7dc721253da4b7527cd5f8c9c0a |
| hovercard-subject-tag | issue:52583206 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/543/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad62201d53a83f675db524385afdb87d71f7223f3dd0888f9f27804803817058/python/mypy/issues/543 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad62201d53a83f675db524385afdb87d71f7223f3dd0888f9f27804803817058/python/mypy/issues/543 |
| og:image:alt | This is valid Python but mypy doesn't accept it (Parse error before in): for x, in [(1,), (2,), (3,)]: print(x) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JukkaL |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width