Title: bpo-35814: Update the annotated assignment docs by ilevkivskyi · Pull Request #13757 · python/cpython · GitHub
Open Graph Title: bpo-35814: Update the annotated assignment docs by ilevkivskyi · Pull Request #13757 · python/cpython
X Title: bpo-35814: Update the annotated assignment docs by ilevkivskyi · Pull Request #13757 · python/cpython
Description: cc @gvanrossum @rhettinger Btw, when writing this I am now thinking is there a reason why we don't allow also star expressions in the r.h.s. of annotated assignments (so that it mirrors normal assignment, not augmented assignment)? For example t: Tuple[int, ...] = x, y, *z is a SyntaxError. Should we try allowing this? Or is it too late in the release cycle? https://bugs.python.org/issue35814
Open Graph Description: cc @gvanrossum @rhettinger Btw, when writing this I am now thinking is there a reason why we don't allow also star expressions in the r.h.s. of annotated assignments (so that it mirrors normal ...
X Description: cc @gvanrossum @rhettinger Btw, when writing this I am now thinking is there a reason why we don't allow also star expressions in the r.h.s. of annotated assignments (so that it mirrors nor...
Opengraph URL: https://github.com/python/cpython/pull/13757
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a1ae50a5-c950-3c97-4d85-53b839d4b08a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD74:F3E07:B37AB1:F4F843:6A59350B |
| html-safe-nonce | 8cb1c3406cf20bab11bf39b820f25475e3a0519d3f861f65788d3ec859613dca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc0OkYzRTA3OkIzN0FCMTpGNEY4NDM6NkE1OTM1MEIiLCJ2aXNpdG9yX2lkIjoiMTczOTQ4Mjc4NDgyNDExMjM5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | df7de1f5f4f5988086b2da564516e483c1b2a6244df9897b265290b9f511ad9d |
| hovercard-subject-tag | pull_request:284375708 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/13757/files |
| twitter:image | https://avatars.githubusercontent.com/u/12005495?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12005495?s=400&v=4 |
| og:image:alt | cc @gvanrossum @rhettinger Btw, when writing this I am now thinking is there a reason why we don't allow also star expressions in the r.h.s. of annotated assignments (so that it mirrors normal ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9713946e7d87c4b631b5230769f749551d20527cc4872e8f1d2ec6a11bead090 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 858568d2992d2e6aac25cc4ebf5b46c83bbfd745 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width