Title: bpo-46480: rephrase typing.assert_type docs by hauntsaninja · Pull Request #32069 · python/cpython · GitHub
Open Graph Title: bpo-46480: rephrase typing.assert_type docs by hauntsaninja · Pull Request #32069 · python/cpython
X Title: bpo-46480: rephrase typing.assert_type docs by hauntsaninja · Pull Request #32069 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: The goal here is to reduce potential confusion between assert_type(val, typ) and assert isinstance(val, typ). The former is meant to ask a type checker to confirm a fact, the latter is meant to tel...
X Description: The goal here is to reduce potential confusion between assert_type(val, typ) and assert isinstance(val, typ). The former is meant to ask a type checker to confirm a fact, the latter is meant to tel...
Opengraph URL: https://github.com/python/cpython/pull/32069
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:4c759fa1-744f-3de4-a5d2-88029704c0c7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB30:231D79:70B7A5:991523:696AB163 |
| html-safe-nonce | e07f66aa7897469bc1f7057f60a7d11a7f8b8effd2b0b7bc5e85118e2e443ea6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjMwOjIzMUQ3OTo3MEI3QTU6OTkxNTIzOjY5NkFCMTYzIiwidmlzaXRvcl9pZCI6Ijc4MjUyMTY3NjYyMjc0Mjc2ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2febde4fd0833d21c1e69eda2c8babd23e11c9224162d514e281bd2961d3ddfa |
| hovercard-subject-tag | pull_request:886808331 |
| 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/32069/commits |
| twitter:image | https://opengraph.githubassets.com/7c1c7eb9f30d9cdff66f3a943d9dc1c11c48751be2ec521044c2fe7df0c70ddb/python/cpython/pull/32069 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c1c7eb9f30d9cdff66f3a943d9dc1c11c48751be2ec521044c2fe7df0c70ddb/python/cpython/pull/32069 |
| og:image:alt | The goal here is to reduce potential confusion between assert_type(val, typ) and assert isinstance(val, typ). The former is meant to ask a type checker to confirm a fact, the latter is meant to tel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hauntsaninja |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width