Title: Improve `weakref_slot` docs in `dataclasses.rst` · Issue #123570 · python/cpython · GitHub
Open Graph Title: Improve `weakref_slot` docs in `dataclasses.rst` · Issue #123570 · python/cpython
X Title: Improve `weakref_slot` docs in `dataclasses.rst` · Issue #123570 · python/cpython
Description: While merging #123342 I've noticed that we can improve weakref_slot docs. Here's how it looks now: I think that we can add a link to weakref.ref under "weakref-able" term. Like this: Right now dataclass.rst does not have a single link to...
Open Graph Description: While merging #123342 I've noticed that we can improve weakref_slot docs. Here's how it looks now: I think that we can add a link to weakref.ref under "weakref-able" term. Like this: Right now data...
X Description: While merging #123342 I've noticed that we can improve weakref_slot docs. Here's how it looks now: I think that we can add a link to weakref.ref under "weakref-able" term. Like th...
Opengraph URL: https://github.com/python/cpython/issues/123570
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve `weakref_slot` docs in `dataclasses.rst`","articleBody":"While merging https://github.com/python/cpython/pull/123342 I've noticed that we can improve `weakref_slot` docs. Here's how it looks now:\r\n\u003cimg width=\"759\" alt=\"Снимок экрана 2024-09-01 в 13 53 28\" src=\"https://github.com/user-attachments/assets/318b56f5-46b5-4994-b4dd-6f30d4fafebc\"\u003e\r\n\r\nI think that we can add a link to `weakref.ref` under \"weakref-able\" term. Like this:\r\n\u003cimg width=\"762\" alt=\"Снимок экрана 2024-09-01 в 13 55 34\" src=\"https://github.com/user-attachments/assets/547d6db5-27ff-43b3-afea-9e9944fbc26c\"\u003e\r\n\r\nRight now `dataclass.rst` does not have a single link to `weakref.rst`. This change will make it easier for users to navigate to this term, which not all people are familiar with.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-123571\n* gh-123594\n* gh-123595\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2024-09-01T10:57:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/123570/cpython/issues/123570"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a72dbfc-08b2-67ba-842f-cb9c9a2225e9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A422:CE9E9:13A6BF6:1B6445E:696A3491 |
| html-safe-nonce | 9b9fa9279b54c2a3cc52646c2db52cdbf86eb2a22f0f6cf20b201defe483fc69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDIyOkNFOUU5OjEzQTZCRjY6MUI2NDQ1RTo2OTZBMzQ5MSIsInZpc2l0b3JfaWQiOiIyNDc0MzgxNTI5MzI0MDY0MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 50d409261ec2f220d9e7300186a86ab887eb5e7ab3e97539b1d4ffcc9d9e879d |
| hovercard-subject-tag | issue:2499391190 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/python/cpython/123570/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a39f248fdc1d0107259e0d26f04f92984af547b348619ec20b7432e54659e5c/python/cpython/issues/123570 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a39f248fdc1d0107259e0d26f04f92984af547b348619ec20b7432e54659e5c/python/cpython/issues/123570 |
| og:image:alt | While merging #123342 I've noticed that we can improve weakref_slot docs. Here's how it looks now: I think that we can add a link to weakref.ref under "weakref-able" term. Like this: Right now data... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 | 7a9163cefd1ea4bd06f8eb7c082f43e4e53f626f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width