Title: Add protocols `SequenceLike` and `MappingLike` by srittau · Pull Request #15152 · python/typeshed · GitHub
Open Graph Title: Add protocols `SequenceLike` and `MappingLike` by srittau · Pull Request #15152 · python/typeshed
X Title: Add protocols `SequenceLike` and `MappingLike` by srittau · Pull Request #15152 · python/typeshed
Description: Sequence and Mapping are commonly used in argument types. This can be problematic, since they are not protocols, making it impossible to safely duck type or mock them. Also, not all sequence- or ma...
Open Graph Description: Sequence and Mapping are commonly used in argument types. This can be problematic, since they are not protocols, making it impossible to safely duck type or mock them. Also, not all sequence- or ma...
X Description: Sequence and Mapping are commonly used in argument types. This can be problematic, since they are not protocols, making it impossible to safely duck type or mock them. Also, not all sequence- or ma...
Opengraph URL: https://github.com/python/typeshed/pull/15152
X: @github
Domain: patch-diff.githubusercontent.com
| 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:c06f4b9d-01e9-b8a8-e2d9-cd14914b8ce2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C1A6:FDC34:85B81D0:AFB2DEF:696DE16D |
| html-safe-nonce | 59bfab5a5bf3970443400a4ccb9ac85a49aa9485d8ac8a865aba9755f5e1ce1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUE2OkZEQzM0Ojg1QjgxRDA6QUZCMkRFRjo2OTZERTE2RCIsInZpc2l0b3JfaWQiOiIzNjU3NDU4MjcxMTYyMDY1MjYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 07861bc87d0814ef945f07d9b377b4341a78bf3ae7e30cf17961bde63aebd519 |
| hovercard-subject-tag | pull_request:3118274173 |
| 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/_view_fragments/voltron/pull_requests/show/python/typeshed/15152/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1b3d1d98ed3b48195291eff4687f25b92534967b0bab062e31b115e9dd36a17c/python/typeshed/pull/15152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b3d1d98ed3b48195291eff4687f25b92534967b0bab062e31b115e9dd36a17c/python/typeshed/pull/15152 |
| og:image:alt | Sequence and Mapping are commonly used in argument types. This can be problematic, since they are not protocols, making it impossible to safely duck type or mock them. Also, not all sequence- or ma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | srittau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width