Title: classes odds and ends could mention dataclasses · Issue #99908 · python/cpython · GitHub
Open Graph Title: classes odds and ends could mention dataclasses · Issue #99908 · python/cpython
X Title: classes odds and ends could mention dataclasses · Issue #99908 · python/cpython
Description: Documentation https://docs.python.org/3/tutorial/classes.html#odds-and-ends "Sometimes it is useful to have a data type similar to the Pascal “record” or C “struct”, bundling together a few named data items. An empty class definition wil...
Open Graph Description: Documentation https://docs.python.org/3/tutorial/classes.html#odds-and-ends "Sometimes it is useful to have a data type similar to the Pascal “record” or C “struct”, bundling together a few named d...
X Description: Documentation https://docs.python.org/3/tutorial/classes.html#odds-and-ends "Sometimes it is useful to have a data type similar to the Pascal “record” or C “struct”, bundling together a few na...
Opengraph URL: https://github.com/python/cpython/issues/99908
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"classes odds and ends could mention dataclasses","articleBody":"# Documentation\r\n\r\nhttps://docs.python.org/3/tutorial/classes.html#odds-and-ends\r\n\r\n_\"Sometimes it is useful to have a data type similar to the Pascal “record” or C “struct”, bundling together a few named data items. An empty class definition will do nicely:\"_\r\n\r\nThis does not mention dataclasses but the use case it covers makes sense for that. Should the tutorial go there?\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-100433\n* gh-100498\n* gh-100499\n* gh-100500\n* gh-100501\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/gpshead","@type":"Person","name":"gpshead"},"datePublished":"2022-11-30T18:18:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/99908/cpython/issues/99908"}
| 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:d0988531-3f9c-3ff9-7c12-ec8a47735b99 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8A4:4ACE2:8B9C9E:C3B336:69690257 |
| html-safe-nonce | 58bd9e48d36520453d0b01fbd05a2d8b14053b173251d8cba01af96a4553fe1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEE0OjRBQ0UyOjhCOUM5RTpDM0IzMzY6Njk2OTAyNTciLCJ2aXNpdG9yX2lkIjoiODI4ODU5MTM0MzE1OTY3MzQzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 57321bd01a3a01019e4302f45fa81a610d641aa0b4b1a0424565986178dc9e8f |
| hovercard-subject-tag | issue:1470045504 |
| 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/99908/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f66746616f20d98bcdabe6162bd6d3320010702811081ae9b4c5f8f5ccc3bbf9/python/cpython/issues/99908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f66746616f20d98bcdabe6162bd6d3320010702811081ae9b4c5f8f5ccc3bbf9/python/cpython/issues/99908 |
| og:image:alt | Documentation https://docs.python.org/3/tutorial/classes.html#odds-and-ends "Sometimes it is useful to have a data type similar to the Pascal “record” or C “struct”, bundling together a few named d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gpshead |
| hostname | github.com |
| expected-hostname | github.com |
| None | e6156bd4ef9f2dc8dadf4c49a8f7ed8532186388cef72eda3ccb9f0ab3b8cfca |
| 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 | fd1938215b152e2c6a29cf56fec07fd9f91f1203 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width