| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9fbac22e-5a8a-81a2-ce31-84b3d7e39eaa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADE6:3E4AC7:225E595:2E8E46E:6B002427 |
| html-safe-nonce | 81b9d9c7453ede5ac7ab0f6ce38cc70eb1ec93416ccb2e6ca463dfcee2aefcab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREU2OjNFNEFDNzoyMjVFNTk1OjJFOEU0NkU6NkIwMDI0MjciLCJ2aXNpdG9yX2lkIjoiODY0NzUxMDU2NzQyODMwMTg2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a8dc97c7b80bb84c4fa4e166c4c65b53824d3e5c59ea28bf1102b88ce37575f |
| hovercard-subject-tag | pull_request:1253466790 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/typeshed/pull/9811/files |
| twitter:image | https://avatars.githubusercontent.com/u/17561586?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17561586?s=400&v=4 |
| og:image:alt | Rationale
When you know for a fact that you are using get_origin on a GenericAlias, your type checker will show you errors about the result being Any | None. These type hints attempt to fix this is... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typeshed/pull/9811/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9811%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9811%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/9811/files |
| Reload | https://github.com/python/typeshed/pull/9811/files |
| Reload | https://github.com/python/typeshed/pull/9811/files |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/typeshed/tree/main |
| zmievsa:add-get-origin-annotations | https://github.com/zmievsa/typeshed/tree/add-get-origin-annotations |
|
Conversation
17
| https://github.com/python/typeshed/pull/9811 |
|
Commits
17
| https://github.com/python/typeshed/pull/9811/commits |
|
Checks
0
| https://github.com/python/typeshed/pull/9811/checks |
|
Files changed
| https://github.com/python/typeshed/pull/9811/files |
| Please reload this page | https://github.com/python/typeshed/pull/9811/files |
|
Add get_origin annotations
| https://github.com/python/typeshed/pull/9811/files#top |
|
Show all changes
17 commits
| https://github.com/python/typeshed/pull/9811/files |
|
87e8f58
Add get_origin annotations
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/87e8f58d4e2333a17bb4cdcca309e1f45f670757 |
|
da99bd6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/da99bd6f9dcd466fa13426008c520a639da68bda |
|
44fe739
Merge branch 'main' into add-get-origin-annotations
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/44fe7391eb1f3338dad90ba0cbce0ebee8d71c51 |
|
870ee63
Update stdlib/typing_extensions.pyi
Ovsyanka83 Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/870ee631f0f60de6bebdad08f4dccfbe16e8dc04 |
|
1ebef53
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/1ebef5335b5cb6e7089650837bf0cd15fa389ee4 |
|
f274e90
Fixes after code review
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/f274e905d47bb53dc1f75811144c2fe4f078c590 |
|
6718114
Merge branch 'add-get-origin-annotations' of github.com:Ovsyanka83/ty…
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/671811435c4c1c1ee424aaf3d2d575fa3614c313 |
|
001adb2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/001adb28816727e752d7771e549b1ca7e3d129db |
|
887bf5b
More code review fixes
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/887bf5b4c822e0e47915dbd283a5085558409ea9 |
|
130d3f7
Merge branch 'add-get-origin-annotations' of github.com:Ovsyanka83/ty…
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/130d3f75000eb00eaf64a3afb11a35de514105f9 |
|
7b2b9cb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/7b2b9cba13d756fa5c0e869f16038f795972064c |
|
7456d4d
Fix double overloads
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/7456d4d6b9550666c68ed73c99aa22b259b470a4 |
|
0014633
Merge branch 'add-get-origin-annotations' of github.com:Ovsyanka83/ty…
zmievsa Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/0014633115bdb16c6749980e7c832e67e30ebdde |
|
6b791a4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2023
| https://github.com/python/typeshed/pull/9811/commits/6b791a4ee31fb36c45fd579530edba112fbcd3b6 |
|
012db9f
Add ParamSpec to get_origin in <3.9
zmievsa Feb 25, 2023
| https://github.com/python/typeshed/pull/9811/commits/012db9f152135b4e502d2c6293a924d739eb42db |
|
faa6646
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 25, 2023
| https://github.com/python/typeshed/pull/9811/commits/faa6646f99fcf3766238b8f3a3fc426ccb6eaa7d |
|
cdede57
Merge branch 'main' into add-get-origin-annotations
zmievsa Feb 25, 2023
| https://github.com/python/typeshed/pull/9811/commits/cdede57cdcb6aa3f2081d6a2e13971bbf99f35e2 |
|
Clear filters
| https://github.com/python/typeshed/pull/9811/files |
| Please reload this page | https://github.com/python/typeshed/pull/9811/files |
| Please reload this page | https://github.com/python/typeshed/pull/9811/files |
|
typing.pyi
| https://github.com/python/typeshed/pull/9811/files#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
|
typing_extensions.pyi
| https://github.com/python/typeshed/pull/9811/files#diff-3be2980942b6638326156e41234559ef7a770ab3c75f30c7d02261388f947cba |
| stdlib/typing.pyi | https://github.com/python/typeshed/pull/9811/files#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
|
View file
| https://github.com/zmievsa/typeshed/blob/cdede57cdcb6aa3f2081d6a2e13971bbf99f35e2/stdlib/typing.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/9811/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/9811/files#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
|
| https://github.com/python/typeshed/pull/9811/files#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
|
| https://github.com/python/typeshed/pull/9811/files#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
|
| https://github.com/python/typeshed/pull/9811/files#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
| stdlib/typing_extensions.pyi | https://github.com/python/typeshed/pull/9811/files#diff-3be2980942b6638326156e41234559ef7a770ab3c75f30c7d02261388f947cba |
|
View file
| https://github.com/zmievsa/typeshed/blob/cdede57cdcb6aa3f2081d6a2e13971bbf99f35e2/stdlib/typing_extensions.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/9811/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/9811/files#diff-3be2980942b6638326156e41234559ef7a770ab3c75f30c7d02261388f947cba |
|
| https://github.com/python/typeshed/pull/9811/files#diff-3be2980942b6638326156e41234559ef7a770ab3c75f30c7d02261388f947cba |
|
| https://github.com/python/typeshed/pull/9811/files#diff-3be2980942b6638326156e41234559ef7a770ab3c75f30c7d02261388f947cba |
|
| https://github.com/python/typeshed/pull/9811/files#diff-3be2980942b6638326156e41234559ef7a770ab3c75f30c7d02261388f947cba |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |