Title: typing: Document get_origin and get_args separately · Issue #104010 · python/cpython · GitHub
Open Graph Title: typing: Document get_origin and get_args separately · Issue #104010 · python/cpython
X Title: typing: Document get_origin and get_args separately · Issue #104010 · python/cpython
Description: Currently get_args and get_origin share the same documentation paragraph: This makes it look like get_args is undocumented. I think the two functions are different enough that it makes sense to give each its own paragraph of documentatio...
Open Graph Description: Currently get_args and get_origin share the same documentation paragraph: This makes it look like get_args is undocumented. I think the two functions are different enough that it makes sense to giv...
X Description: Currently get_args and get_origin share the same documentation paragraph: This makes it look like get_args is undocumented. I think the two functions are different enough that it makes sense to giv...
Opengraph URL: https://github.com/python/cpython/issues/104010
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"typing: Document get_origin and get_args separately","articleBody":"Currently `get_args` and `get_origin` share the same documentation paragraph:\r\n\r\n\u003cimg width=\"904\" alt=\"Screen Shot 2023-04-30 at 6 58 36 AM\" src=\"https://user-images.githubusercontent.com/906600/235356943-27853a8c-384b-4585-8047-1b6487effac3.png\"\u003e\r\n\r\nThis makes it look like `get_args` is undocumented. I think the two functions are different enough that it makes sense to give each its own paragraph of documentation.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104013\n* gh-104359\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/JelleZijlstra","@type":"Person","name":"JelleZijlstra"},"datePublished":"2023-04-30T14:00:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/104010/cpython/issues/104010"}
| 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:46714a89-f247-2914-afb4-12c3a02fc8e6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1E8:DC558:A1F2DD:D6F919:6969920B |
| html-safe-nonce | 4a0b067a1b3e5be8b5c49c9b3112c46ade54dc9cb0cada9c5eeee206043f5eb5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUU4OkRDNTU4OkExRjJERDpENkY5MTk6Njk2OTkyMEIiLCJ2aXNpdG9yX2lkIjoiNzEzNTk1OTIxNjI2OTM5ODUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4e733eadcd8a33ba7bd9ef171fc1b83f855919a7183af5c1696e82998b6f88a6 |
| hovercard-subject-tag | issue:1689929001 |
| 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/cpython/104010/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55c4c45ab778624fb9c598744377f31140282b341c7614cc7ed2c2d2ab0eafe7/python/cpython/issues/104010 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55c4c45ab778624fb9c598744377f31140282b341c7614cc7ed2c2d2ab0eafe7/python/cpython/issues/104010 |
| og:image:alt | Currently get_args and get_origin share the same documentation paragraph: This makes it look like get_args is undocumented. I think the two functions are different enough that it makes sense to giv... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width