Title: bpo-43224: Fix Tuple[()].__args__ by mrahtz · Pull Request #31845 · python/cpython · GitHub
Open Graph Title: bpo-43224: Fix Tuple[()].__args__ by mrahtz · Pull Request #31845 · python/cpython
X Title: bpo-43224: Fix Tuple[()].__args__ by mrahtz · Pull Request #31845 · python/cpython
Description: Here's a fun inconsistency: >>> Tuple[()].__args__ ((),) >>> tuple[()].__args__ () Even though there's an explicit test for the former behaviour, I don't think it's right: Argument 1: If foo.__arg...
Open Graph Description: Here's a fun inconsistency: >>> Tuple[()].__args__ ((),) >>> tuple[()].__args__ () Even though there's an explicit test for the former behaviour, I don't think it'...
X Description: Here's a fun inconsistency: >>> Tuple[()].__args__ ((),) >>> tuple[()].__args__ () Even though there's an explicit test for the former beha...
Opengraph URL: https://github.com/python/cpython/pull/31845
X: @github
Domain: github.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:c10cb561-f7d9-b642-9d0b-5f8f03c56994 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C9C4:9F9DA:3C4C89:532D99:696A69D4 |
| html-safe-nonce | 8ea23607e427105ac4501e0fc5446553cfca2c7689fd3b0908de0f21e19b8bd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUM0OjlGOURBOjNDNEM4OTo1MzJEOTk6Njk2QTY5RDQiLCJ2aXNpdG9yX2lkIjoiNTc4MzEzMTk3MjE1MzUzNDkzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5bddf512ee181e3d69d9501f715ca51f6ceada2f41944d838312132df0dd39ea |
| hovercard-subject-tag | pull_request:878385732 |
| 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/cpython/31845/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1890cfc6d08eee41345c1560193a6254aa7abff8abdd9d5b78d55198c2edae6d/python/cpython/pull/31845 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1890cfc6d08eee41345c1560193a6254aa7abff8abdd9d5b78d55198c2edae6d/python/cpython/pull/31845 |
| og:image:alt | Here's a fun inconsistency: >>> Tuple[()].__args__ ((),) >>> tuple[()].__args__ () Even though there's an explicit test for the former behaviour, I don't think it'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrahtz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| turbo-cache-control | no-preview |
| 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 | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width