Title: Clarify what unparameterized Tuple means · Issue #284 · python/typing · GitHub
Open Graph Title: Clarify what unparameterized Tuple means · Issue #284 · python/typing
X Title: Clarify what unparameterized Tuple means · Issue #284 · python/typing
Description: Currently when you annotate something as Tuple, mypy interprets this as a 0-length tuple. I don't like this. PEP 484 is silent on the matter, but in analogy of List I'd like it to mean Tuple[Any, ...], which is also equivalent to tuple (...
Open Graph Description: Currently when you annotate something as Tuple, mypy interprets this as a 0-length tuple. I don't like this. PEP 484 is silent on the matter, but in analogy of List I'd like it to mean Tuple[Any, ....
X Description: Currently when you annotate something as Tuple, mypy interprets this as a 0-length tuple. I don't like this. PEP 484 is silent on the matter, but in analogy of List I'd like it to mean Tupl...
Opengraph URL: https://github.com/python/typing/issues/284
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify what unparameterized Tuple means","articleBody":"Currently when you annotate something as `Tuple`, mypy interprets this as a 0-length tuple. I don't like this. PEP 484 is silent on the matter, but in analogy of `List` I'd like it to mean `Tuple[Any, ...]`, which is also equivalent to `tuple` (lowercase 't').\n","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2016-09-26T17:52:37Z","url":"https://github.com/python/typing/issues/284"}
| 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:4a00a0f6-a8d2-c8de-1f58-05ceccae34fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87B4:1AEC58:B35F53:EFD159:6B004AE3 |
| html-safe-nonce | 8a66e74c6f7826194e406fdc3315cff9f7ff2ef09a8534ac5bc5e69e91a54cd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0I0OjFBRUM1ODpCMzVGNTM6RUZEMTU5OjZCMDA0QUUzIiwidmlzaXRvcl9pZCI6IjY2NDAyOTc3ODUzNTY3MzMxNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0a57cad9e443111cb4aef2dedda6c40bb8f9f29fd7adc803254118fed38c3a44 |
| hovercard-subject-tag | issue:179294442 |
| 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/typing/284/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2c99d3f03146e5b888a0fd691913abde98ed3b082e41b9e55768c23c04a7e56/python/typing/issues/284 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2c99d3f03146e5b888a0fd691913abde98ed3b082e41b9e55768c23c04a7e56/python/typing/issues/284 |
| og:image:alt | Currently when you annotate something as Tuple, mypy interprets this as a 0-length tuple. I don't like this. PEP 484 is silent on the matter, but in analogy of List I'd like it to mean Tuple[Any, .... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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 | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width