| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:bb25dbbf-3402-9022-7e6f-e762dcbdbc3d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 84EE:3FF3CA:3EE8C71:56F4766:6A60F7C6 |
| html-safe-nonce | 95c29524390bd0e2905b5ee245d54e53ab890e2668edb9403877caa373044379 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEVFOjNGRjNDQTozRUU4QzcxOjU2RjQ3NjY6NkE2MEY3QzYiLCJ2aXNpdG9yX2lkIjoiNzM5MzE5NzI5NzQwNzk0ODc0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9ea7dad0e510070a8674f70ca58a059ea3687cb46da40b7dff725782df00a00d |
| hovercard-subject-tag | pull_request:854319098 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/peps/2332/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d09fbf4d2afda1828ce49bc5c6ea420eb57b62bf3d089a44759ce68b9de33cc1/python/peps/pull/2332 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d09fbf4d2afda1828ce49bc5c6ea420eb57b62bf3d089a44759ce68b9de33cc1/python/peps/pull/2332 |
| og:image:alt | Fix last example in PEP 544 - Type[] and class objects vs protocols.
Changes
C is a class, the annotations for a and b should thus include Type.
(The section title includes "Type[] and class ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cdce8p |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01a0f3379195d313175de239776b09dd4a079d5b2ea29dd9c37e85cd4cd5e990 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/peps git https://github.com/python/peps.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 13414105 |
| octolytics-dimension-repository_nwo | python/peps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13414105 |
| octolytics-dimension-repository_network_root_nwo | python/peps |
| 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 | 00ca1a9089c8f2453e5d118d0554c8a26883d159 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/peps/pull/2332#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F2332 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F2332 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fpeps |
| Reload | https://github.com/python/peps/pull/2332 |
| Reload | https://github.com/python/peps/pull/2332 |
| Reload | https://github.com/python/peps/pull/2332 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
|
python
| https://github.com/python |
| peps | https://github.com/python/peps |
| Please reload this page | https://github.com/python/peps/pull/2332 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fpeps |
|
Fork
1.8k
| https://github.com/login?return_to=%2Fpython%2Fpeps |
|
Star
5k
| https://github.com/login?return_to=%2Fpython%2Fpeps |
|
Code
| https://github.com/python/peps |
|
Issues
20
| https://github.com/python/peps/issues |
|
Pull requests
42
| https://github.com/python/peps/pulls |
|
Actions
| https://github.com/python/peps/actions |
|
Security and quality
0
| https://github.com/python/peps/security |
|
Insights
| https://github.com/python/peps/pulse |
|
Code
| https://github.com/python/peps |
|
Issues
| https://github.com/python/peps/issues |
|
Pull requests
| https://github.com/python/peps/pulls |
|
Actions
| https://github.com/python/peps/actions |
|
Security and quality
| https://github.com/python/peps/security |
|
Insights
| https://github.com/python/peps/pulse |
| cdce8p | https://github.com/cdce8p |
| python:main | https://github.com/python/peps/tree/main |
| Conversation | https://github.com/python/peps/pull/2332 |
| Commits1 (1) | https://github.com/python/peps/pull/2332/commits |
| Checks | https://github.com/python/peps/pull/2332/checks |
| Files changed | https://github.com/python/peps/pull/2332/files |
| PEP 544: Fix example | https://github.com/python/peps/pull/2332#top |
| cdce8p | https://github.com/cdce8p |
| python:main | https://github.com/python/peps/tree/main |
|
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#issue-1139924980 |
| Type[] and class objects vs protocols | https://www.python.org/dev/peps/pep-0544/#type-and-class-objects-vs-protocols |
| Please reload this page | https://github.com/python/peps/pull/2332 |
|
| https://github.com/cdce8p |
| PEP 544: Fix example | https://github.com/python/peps/pull/2332/commits/e115d45352275669474aba30e2d76e404087615c |
| e115d45 | https://github.com/python/peps/pull/2332/commits/e115d45352275669474aba30e2d76e404087615c |
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
| ambv | https://github.com/ambv |
| ilevkivskyi | https://github.com/ilevkivskyi |
| code owners | https://github.com/python/peps/blob/f7bba0160ba01c87d40301cf1f0e7e2a057e17c1/.github/CODEOWNERS#L410 |
| February 16, 2022 12:04 | https://github.com/python/peps/pull/2332#event-6082240369 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/peps/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#event-6082240642 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1041562820 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#event-6083329436 |
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1041591728 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1041598536 |
| python/mypy#4536 | https://github.com/python/mypy/issues/4536 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
| February 16, 2022 17:17 | https://github.com/python/peps/pull/2332#event-6084490785 |
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
| Feb 16, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1041903836 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Feb 21, 2022
| https://github.com/python/peps/pull/2332#ref-pullrequest-1146128712 |
|
PEP 544: Replace broken link to Zope documentation
#2350
| https://github.com/python/peps/pull/2350 |
| https://github.com/CAM-Gerlach |
| CAM-Gerlach | https://github.com/CAM-Gerlach |
|
Mar 4, 2022
| https://github.com/python/peps/pull/2332#ref-pullrequest-1159170572 |
|
Meta: Clearly document current guidance for changing existing PEPs
#2378
| https://github.com/python/peps/pull/2378 |
| https://github.com/Kentzo |
| Kentzo | https://github.com/Kentzo |
| Oct 21, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1287539093 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| @JelleZijlstra | https://github.com/JelleZijlstra |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Oct 21, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1287541365 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/Kentzo |
| Kentzo | https://github.com/Kentzo |
| Oct 22, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1287558399 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Oct 22, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1287561610 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/CAM-Gerlach |
| CAM-Gerlach | https://github.com/CAM-Gerlach |
| Oct 22, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1287606721 |
| @ilevkivskyi | https://github.com/ilevkivskyi |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 22, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1287793077 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Oct 23, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1288004682 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/CAM-Gerlach |
| CAM-Gerlach | https://github.com/CAM-Gerlach |
| Oct 23, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1288162132 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Oct 24, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1289050758 |
| #2332 (comment) | https://github.com/python/peps/pull/2332#issuecomment-1287558399 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/Kentzo |
| Kentzo | https://github.com/Kentzo |
| Oct 24, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1289108617 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/CAM-Gerlach |
| CAM-Gerlach | https://github.com/CAM-Gerlach |
| Oct 24, 2022 | https://github.com/python/peps/pull/2332#issuecomment-1289668919 |
| #2332 (comment) | https://github.com/python/peps/pull/2332#issuecomment-1287558399 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Feb 9, 2023
| https://github.com/python/peps/pull/2332#ref-pullrequest-1578193475 |
|
PEP 544: correct comments on assignments to protocol-hinted targets
#3010
| https://github.com/python/peps/pull/3010 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Dec 2, 2023
| https://github.com/python/peps/pull/2332#ref-pullrequest-2021949673 |
|
PEP 544: Fix error in "Type[] and class objects vs protocols" section
#3561
| https://github.com/python/peps/pull/3561 |
| https://github.com/rodrigodesalvobraz |
| rodrigodesalvobraz | https://github.com/rodrigodesalvobraz |
| Dec 5, 2023 | https://github.com/python/peps/pull/2332#issuecomment-1841775661 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| a very good argument | https://github.com/python/peps/pull/2332#issuecomment-1288162132 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Dec 5, 2023 | https://github.com/python/peps/pull/2332#issuecomment-1841777015 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| python/typing#1517 | https://github.com/python/typing/pull/1517 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.com/rodrigodesalvobraz |
| rodrigodesalvobraz | https://github.com/rodrigodesalvobraz |
| Dec 5, 2023 | https://github.com/python/peps/pull/2332#issuecomment-1841779478 |
| last message from the author | https://github.com/python/peps/pull/2332#issuecomment-1841777015 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
| https://github.co/hiddenchars |
| https://github.com/python/peps/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F2332 |
|
| https://github.com/ilevkivskyi |
|
ilevkivskyi
| https://github.com/ilevkivskyi |
|
| https://github.com/ambv |
|
ambv
| https://github.com/ambv |
|
CLA signed
| https://github.com/python/peps/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Please reload this page | https://github.com/python/peps/pull/2332 |
|
| https://github.com/cdce8p |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/Kentzo |
|
| https://github.com/CAM-Gerlach |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/rodrigodesalvobraz |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |