Title: Improve readability of `typing._ProtocolMeta.__instancecheck__` by AlexWaygood · Pull Request #104649 · python/cpython · GitHub
Open Graph Title: Improve readability of `typing._ProtocolMeta.__instancecheck__` by AlexWaygood · Pull Request #104649 · python/cpython
X Title: Improve readability of `typing._ProtocolMeta.__instancecheck__` by AlexWaygood · Pull Request #104649 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This doesn't change behaviour at all. It might improve performance slightly for isinstance() checks against concrete subclasses of protocols, but the difference wasn't that significant. Thi...
X Description: This doesn't change behaviour at all. It might improve performance slightly for isinstance() checks against concrete subclasses of protocols, but the difference wasn't that signific...
Opengraph URL: https://github.com/python/cpython/pull/104649
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:4c66485e-1d38-6c7e-1ed1-50f3d65947fa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 80F2:124678:10BB69D:16C37F4:6969F879 |
| html-safe-nonce | 12bf620e058b5516e2896db2066778a4da37e7ad3d4db22bcd8ac0ebf01cad95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEYyOjEyNDY3ODoxMEJCNjlEOjE2QzM3RjQ6Njk2OUY4NzkiLCJ2aXNpdG9yX2lkIjoiMTY4MDQ3NDYwNTgyMjkxNTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a669a7b19edcb3cb8aae0ef18b0be7f1a024738b9e104455b59ea7798018f95c |
| hovercard-subject-tag | pull_request:1357087942 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/104649/commits |
| twitter:image | https://opengraph.githubassets.com/3462cfdee651ef357aa3f41d5ce9293b37497e9d626c228407fe41bea1112860/python/cpython/pull/104649 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3462cfdee651ef357aa3f41d5ce9293b37497e9d626c228407fe41bea1112860/python/cpython/pull/104649 |
| og:image:alt | This doesn't change behaviour at all. It might improve performance slightly for isinstance() checks against concrete subclasses of protocols, but the difference wasn't that significant. Thi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-cache |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width