Title: Shorthand for Tuple and Optional · Issue #151 · python/typing · GitHub
Open Graph Title: Shorthand for Tuple and Optional · Issue #151 · python/typing
X Title: Shorthand for Tuple and Optional · Issue #151 · python/typing
Description: Tuple and Optional will are used very frequently in my experimentation. Similar to allowing None in place of NoneType, it would be nice to have some shorthand expression for these types. As a possible suggestion, a tuple of types should ...
Open Graph Description: Tuple and Optional will are used very frequently in my experimentation. Similar to allowing None in place of NoneType, it would be nice to have some shorthand expression for these types. As a possi...
X Description: Tuple and Optional will are used very frequently in my experimentation. Similar to allowing None in place of NoneType, it would be nice to have some shorthand expression for these types. As a possi...
Opengraph URL: https://github.com/python/typing/issues/151
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Shorthand for Tuple and Optional","articleBody":"Tuple and Optional will are used very frequently in my experimentation. Similar to allowing None in place of NoneType, it would be nice to have some shorthand expression for these types. As a possible suggestion, a tuple of types should be treated as Tuple, that is (int, str) would be equivalent to Tuple[int, str]. A set of a single type could be treated as an optional of that type, that is {int} would be equivalent to Optional[int].\n","author":{"url":"https://github.com/DRayX","@type":"Person","name":"DRayX"},"datePublished":"2015-08-01T14:43:49Z","url":"https://github.com/python/typing/issues/151"}
| 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:748caf8c-18cb-9eeb-727e-682e3ceb441e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99CA:157BA1:5D775A:7DB9E6:6B003494 |
| html-safe-nonce | 17b1541e4bc28d16f76aa96e221e43a0a6f47e0ebe85f7f51c1ef67e5c787ea6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUNBOjE1N0JBMTo1RDc3NUE6N0RCOUU2OjZCMDAzNDk0IiwidmlzaXRvcl9pZCI6Ijg2MjI2NTMyMjk0NTQzNDEyNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 46aa5f649f5de93c6479cb011c891320f5544f6ec8084428d45dfeb525b98e36 |
| hovercard-subject-tag | issue:98541704 |
| 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/151/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2d76f41da97b7cd1ee6dd22e5ecd2ddd65f28995d324cea05082ff698f96dbcb/python/typing/issues/151 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2d76f41da97b7cd1ee6dd22e5ecd2ddd65f28995d324cea05082ff698f96dbcb/python/typing/issues/151 |
| og:image:alt | Tuple and Optional will are used very frequently in my experimentation. Similar to allowing None in place of NoneType, it would be nice to have some shorthand expression for these types. As a possi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DRayX |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width